home *** CD-ROM | disk | FTP | other *** search
/ The Fatted Calf / The Fatted Calf.iso / Applications / Misc / NXSpice / NXSpice.app / helpdir / SPICE.txt < prev   
Text File  |  1991-06-24  |  118KB  |  2,401 lines

  1. SUBJECT: dashb
  2. TITLE: -b
  3. TEXT: 
  4. TEXT:      G-b   HRun in batch mode.  Instead of prompting the user
  5. TEXT: H          interactively, Gspice Hwill execute the source files
  6. TEXT: H          given on the line, or if there are none, it will read
  7. TEXT: H          from the standard input.  (Gspice Honly)
  8. TEXT: H
  9. TEXT: 
  10.  
  11. SUBJECT: dashi
  12. TITLE: -i
  13. TEXT: 
  14. TEXT:      G-i   HRun in interactive (as opposed to batch) mode.  This is
  15. TEXT: H          the default.  (Gspice Honly)
  16. TEXT: H
  17. TEXT: 
  18.  
  19. SUBJECT: dashq
  20. TITLE: -q
  21. TEXT: 
  22. TEXT:      G-b   HRun in batch mode.  Instead of prompting the user
  23. TEXT: H          interactively, Gspice Hwill execute the source files
  24. TEXT: H          given on the line, or if there are none, it will read
  25. TEXT: H          from the standard input.  (Gspice Honly)
  26. TEXT: H
  27. TEXT: 
  28. SEEALSO: NUTMEG:ccom
  29.  
  30. SUBJECT: spice
  31. TITLE: SPICE3 Summary
  32. TEXT: 
  33. TEXT:                SPICE is a general-purpose circuit  simulation  program
  34. TEXT: H          for  nonlinear  dc,  nonlinear transient, and linear ac ana-
  35. TEXT: H          lyses.  Circuits may contain resistors,  capacitors,  induc-
  36. TEXT: H          tors,  mutual  inductors,  independent  voltage  and current
  37. TEXT: H          sources,  four  types  of  dependent  sources,  transmission
  38. TEXT: H          lines, switches, and the five most common semiconductor dev-
  39. TEXT: H          ices:  diodes, BJTs, JFETs, MESFETs, and MOSFETs.
  40. TEXT: H
  41. TEXT:                The SPICE3 version is based  directly  on  SPICE  2G.6.
  42. TEXT: H          While  SPICE3 is being developed to include new features, it
  43. TEXT: H          will continue to support those capabilities and models which
  44. TEXT: H          remain in extensive use in the SPICE2 program.
  45. TEXT: H
  46. TEXT:                SPICE has built-in models for  the  semiconductor  dev-
  47. TEXT: H          ices,  and  the  user  need specify only the pertinent model
  48. TEXT: H          parameter values.  The model for the BJT  is  based  on  the
  49. TEXT: H          integral  charge  model of Gummel and Poon;  however, if the
  50. TEXT: H          Gummel- Poon parameters are not specified, the model reduces
  51. TEXT: H          to  the  simpler  Ebers-Moll  model.  In either case, charge
  52. TEXT: H          storage effects, ohmic resistances, and a  current-dependent
  53. TEXT: H          output  conductance may be included.  The diode model can be
  54. TEXT: H          used for either junction diodes or Schottky barrier  diodes.
  55. TEXT: H          The  JFET  model  is  based on the FET model of Shichman and
  56. TEXT: H          Hodges.   Four  MOSFET  models  are  implemented:  MOS1   is
  57. TEXT: H          described  by a square-law I-V characteristic, MOS2[1] is an
  58. TEXT: H          analytical model, while MOS3[1] is a  semi-empirical  model,
  59. TEXT: H          and  MOS4[2,3] is the new BSIM (Berkeley Short-channel IGFET
  60. TEXT: H          Model).  MOS2, MOS3, and MOS4 include  second-order  effects
  61. TEXT: H          such  as channel length modulation, subthreshold conduction,
  62. TEXT: H          scattering limited velocity saturation, small-size  effects,
  63. TEXT: H          and charge-controlled capacitances.
  64. TEXT: H
  65. TEXT: 
  66.  
  67. SUBJECT: aspice
  68. TITLE: aspice
  69. TEXT: 
  70. TEXT:      Gaspice H_i_n_f_i_l_e [ _o_u_t_f_i_l_e ]
  71. TEXT: H          Run SPICE3 asynchronously with _i_n_f_i_l_e as an input cir-
  72. TEXT: H          cuit.  If _o_u_t_f_i_l_e is given, the output is saved in this
  73. TEXT: H          file.  After this command is issued, the job is started
  74. TEXT: H          in the background, and you may continue using the
  75. TEXT: H          invoking program interactively.  When the job is fin-
  76. TEXT: H          ished, the rawfile is loaded and becomes the current
  77. TEXT: H          plot, and the output generated is printed.  You may
  78. TEXT: H          specify the pathname of the program to be run with the
  79. TEXT: H          Gspicepath Hvariable.
  80. TEXT: H
  81. TEXT: 
  82. SEEALSO: NUTMEG:jobs
  83. SEEALSO: SPICE:rspice
  84.  
  85. SUBJECT: rspice
  86. TITLE: rspice
  87. TEXT: 
  88. TEXT:      Grspice H[ _i_n_p_u_t_f_i_l_e ] ...
  89. TEXT: H          Runs a Gspice Hjob remotely, using the _i_n_p_u_t_f_i_l_es as
  90. TEXT: H          input, or the current circuit if no argument is given.
  91. TEXT: H          The program waits for the job to complete, and passes
  92. TEXT: H          output from the remote job to the user's standard out-
  93. TEXT: H          put. When the job is finished the data is loaded in as
  94. TEXT: H          with GaspiceH. If the variable Grhost His set, Grspice Hwill
  95. TEXT: H          connect to this host instead of the default remote
  96. TEXT: H          server machine.  If the variable Grprogram His set, then
  97. TEXT: H          Grspice Hwill use this as the pathname to the program to
  98. TEXT: H          run.  Note that this command will work only if your
  99. TEXT: H          system administrator has set up a Gspice Hdaemon on one
  100. TEXT: H          of your machines.  (See the README file in the distri-
  101. TEXT: H          bution directory for details on how to do this.) If the
  102. TEXT: H          daemon thinks the remote machine is too loaded already,
  103. TEXT: H          it may tell the user to try another machine or to try
  104. TEXT: H          again later.
  105. TEXT: H
  106. TEXT: 
  107. SEEALSO: SPICE:aspice
  108. SEEALSO: NUTMEG:rhost
  109. SEEALSO: NUTMEG:rprogram
  110.  
  111. SUBJECT: reset
  112. TITLE: reset
  113. TEXT: 
  114. TEXT:      Greset
  115. TEXT: H          HThrow away the internal data structures associated with
  116. TEXT: H          the current circuit and re-parse the input listing.
  117. TEXT: H          This command should be obsolete, since this is done
  118. TEXT: H          automatically by the Grun Hcommand and the other simula-
  119. TEXT: H          tion commands.
  120. TEXT: H
  121. TEXT: 
  122. SEEALSO: SPICE:run
  123.  
  124. SUBJECT: resume
  125. TITLE: resume
  126. TEXT: 
  127. TEXT:      Gresume
  128. TEXT: H          HIf the current circuit is in the middle of a simula-
  129. TEXT: H          tion, restart the simulation from the point it was left
  130. TEXT: H          off.
  131. TEXT: H
  132. TEXT: 
  133. SEEALSO: SPICE:run
  134.  
  135. SUBJECT: run
  136. TITLE: run
  137. TEXT: 
  138. TEXT:      Grun H[ _r_a_w_f_i_l_e ]
  139. TEXT: H          Run all the analyses given in the current circuit (the
  140. TEXT: H          default is an operating point analysis). If a _r_a_w_f_i_l_e
  141. TEXT: H          is given, the output is saved in this file.  Otherwise
  142. TEXT: H          it is made available as the current plot.
  143. TEXT: H
  144. TEXT: 
  145. SEEALSO: SPICE:resume
  146.  
  147. SUBJECT: delete
  148. TITLE: delete
  149. TEXT: 
  150. TEXT:      Gdelete H[ _n_u_m_b_e_r ] ...
  151. TEXT: H          Remove the traces or breakpoints with the specified
  152. TEXT: H          _n_u_m_b_e_rs.  The Gstatus Hcommand may be used to obtain
  153. TEXT: H          these numbers. (Gspice Honly)
  154. TEXT: H
  155. TEXT: 
  156. SEEALSO: NUTMEG:status
  157. SEEALSO: SPICE:stop
  158. SEEALSO: SPICE:iplot
  159. SEEALSO: SPICE:step
  160.  
  161. SUBJECT: iplot
  162. TITLE: iplot
  163. TEXT: 
  164. TEXT:      Giplot H[ _n_a_m_e ] ...
  165. TEXT: H          Incrementally plot the values of all the _n_a_m_es given as
  166. TEXT: H          the simulation runs.  The values which are being traced
  167. TEXT: H          in this manner can be examined and removed using the
  168. TEXT: H          Gstatus Hand Gdelete Hcommands.  (Gspice Honly)
  169. TEXT: H
  170. TEXT: 
  171. SEEALSO: NUTMEG:status
  172. SEEALSO: SPICE:delete
  173. SEEALSO: SPICE:step
  174. SEEALSO: SPICE:stop
  175. SEEALSO: NUTMEG:plot
  176.  
  177. SUBJECT: listing
  178. TITLE: listing
  179. TEXT: 
  180. TEXT:      Glisting H[ Glogical H] [ Gphysical H] [ Gdeck H] [ Gexpand H]
  181. TEXT: H          Print a listing of the current circuit to the standard
  182. TEXT: H          output.  The arguments control the format of the list-
  183. TEXT: H          ing.  A Glogical Hlisting is one in which comments are
  184. TEXT: H          removed and continuation lines are appended to the end
  185. TEXT: H          of the continued line.  A Gphysical Hlisting is one in
  186. TEXT: H          which comments and continuation lines are preserved.  A
  187. TEXT: H          Gdeck Hlisting is one without line numbers (so as to be
  188. TEXT: H          acceptible to the circuit parser).  The last option,
  189. TEXT: H          GexpandH, is orthagonal to the previous three - it
  190. TEXT: H          requests that the circuit be printed after subcircuit
  191. TEXT: H          expansion.  Note that only in an expanded listing are
  192. TEXT: H          error messages associated with particular lines visi-
  193. TEXT: H          ble.  (Gspice Honly)
  194. TEXT: H
  195. TEXT: 
  196. SEEALSO: NUTMEG:source
  197.  
  198. SUBJECT: editor
  199. TITLE: editor
  200. TEXT: 
  201. TEXT:      Geditor
  202. TEXT: H          HThe name for the editor to use for the Gedit Hcommand.
  203. TEXT: H          The default is GviH.  (Gspice Honly)
  204. TEXT: H
  205. TEXT: 
  206. SEEALSO: NUTMEG:edit
  207.  
  208. SUBJECT: dashs
  209. TITLE: -s
  210. TEXT: 
  211. TEXT:      G-s   HRun in server mode.  This is like batch mode, and it
  212. TEXT: H          used by the Gspice daemonH.  GSpice Hwill read from the
  213. TEXT: H          standard input up to an GEOFH, and then after it is fin-
  214. TEXT: H          ished it will send a line consisting of one `@' and
  215. TEXT: H          then the contents of the rawfile to the standard out-
  216. TEXT: H          put.  (Gspice Honly)
  217. TEXT: H
  218. TEXT: 
  219.  
  220. SUBJECT: trace
  221. TITLE: trace
  222. TEXT: 
  223. TEXT:      Gtrace H[ _n_o_d_e ] ...
  224. TEXT: H          Each time point, the value of the named nodes will be
  225. TEXT: H          printed to the standard output.
  226. TEXT: H
  227. TEXT: 
  228. SEEALSO: SPICE:step
  229. SEEALSO: SPICE:stop
  230. SEEALSO: SPICE:delete
  231. SEEALSO: NUTMEG:status
  232. SEEALSO: SPICE:iplot
  233.  
  234. SUBJECT: tran
  235. TITLE: tran
  236. TEXT: 
  237. TEXT:      Gtran H._t_r_a_n _a_r_g_u_m_e_n_t_s
  238. TEXT: H          Run a transient analysis.  See the SPICE3 User's Guide
  239. TEXT: H          for details.  Only available in GspiceH.
  240. TEXT: H
  241. TEXT: 
  242. SEEALSO: SPICE:trananalysis
  243.  
  244. SUBJECT: save
  245. TITLE: save
  246. TEXT: 
  247. TEXT:      Gsave H[ Gall H] [ _n_o_d_e_n_a_m_e ] ...
  248. TEXT: H          Save a set of outputs, discarding the rest. If a node
  249. TEXT: H          has been mentioned in a Gsave Hcommand, it will appear in
  250. TEXT: H          the working plot after a run has completed, or in the
  251. TEXT: H          rawfile if spice is run in batch mode (in this case,
  252. TEXT: H          the command can be given in the input file as G.save
  253. TEXT: H          ...H). If a node is traced or plotted it will also be
  254. TEXT: H          saved.  If no Gsave Hcommands are given, all nodes will
  255. TEXT: H          be saved.
  256. TEXT: H
  257. TEXT: 
  258. SEEALSO: NUTMEG:status
  259.  
  260. SUBJECT: trananalysis
  261. TITLE: Transient Analysis
  262. TEXT: 
  263. TEXT:                The transient analysis portion of  SPICE  computes  the
  264. TEXT: H          transient  output  variables  as  a  function of time over a
  265. TEXT: H          user-specified time interval.  The  initial  conditions  are
  266. TEXT: H          automatically  determined  by  a  dc  analysis.  All sources
  267. TEXT: H          which are not time dependent (for example,  power  supplies)
  268. TEXT: H          are  set  to their dc value.  The transient time interval is
  269. TEXT: H          specified on a G.TRAN Hcontrol line.
  270. TEXT: H
  271. TEXT:           GGeneral form:
  272. TEXT: H
  273. TEXT:                .TRAN H_T_S_T_E_P _T_S_T_O_P <_T_S_T_A_R_T <_T_M_A_X>> <_U_I_C>
  274. TEXT: H
  275. TEXT:           GExamples:
  276. TEXT: H
  277. TEXT:                .TRAN 1NS 100NS
  278. TEXT: H               .TRAN 1NS 1000NS 500NS
  279. TEXT: H               .TRAN 10NS 1US UIC
  280. TEXT: H
  281. TEXT: 
  282. TEXT:                H_T_S_T_E_P is the printing or plotting increment  for  line-
  283. TEXT: H          printer  output.   For use with the post-processor, _T_S_T_E_P is
  284. TEXT: H          the suggested computing increment.  _T_S_T_O_P is the final time,
  285. TEXT: H          and _T_S_T_A_R_T is the initial time.  If _T_S_T_A_R_T is omitted, it is
  286. TEXT: H          assumed to be zero.  The transient analysis always begins at
  287. TEXT: H          time  zero.   In the interval <zero, _T_S_T_A_R_T>, the circuit is
  288. TEXT: H          analyzed (to reach a  steady  state),  but  no  outputs  are
  289. TEXT: H          stored.   In  the  interval  <_T_S_T_A_R_T, _T_S_T_O_P>, the circuit is
  290. TEXT: H          analyzed and outputs are stored.  _T_M_A_X is the maximum  step-
  291. TEXT: H          size  that  SPICE  will  use (by default the program chooses
  292. TEXT: H          either _T_S_T_E_P or (_T_S_T_O_P-_T_S_T_A_R_T)/50.0, whichever  is  smaller.
  293. TEXT: H          _T_M_A_X  is  useful  when  one  wishes to guarantee a computing
  294. TEXT: H          interval which is smaller than the printer increment, _T_S_T_E_P.
  295. TEXT: H
  296. TEXT:                GUIC H(use initial conditions)  is  an  optional  keyword
  297. TEXT: H          which  indicates  that the user does not want SPICE to solve
  298. TEXT: H          for the quiescent operating point before beginning the tran-
  299. TEXT: H          sient  analysis.   If  this keyword is specified, SPICE uses
  300. TEXT: H          the values specified using GICH=... on the various elements as
  301. TEXT: H          the  initial  transient  condition  and  proceeds  with  the
  302. TEXT: H          analysis.  If an G.IC Hline has been given, then the node vol-
  303. TEXT: H          tages  on the G.IC Hline are used to compute the intitial con-
  304. TEXT: H          ditions for the devices.  Look at the description on the
  305. TEXT: H          IC line for its interpretation when UIC is not specified.
  306. TEXT: 
  307. SEEALSO: SPICE:tran
  308.  
  309. SUBJECT: op
  310. TITLE: op
  311. TEXT: 
  312. TEXT:      Gop H._o_p _c_a_r_d _a_r_g_u_m_e_n_t_s
  313. TEXT: H          Perform an operating point analysis on the current cir-
  314. TEXT: H          cuit.  See the SPICE3 User's Guide for details.  Only
  315. TEXT: H          available in GspiceH.
  316. TEXT: H
  317. TEXT: 
  318. SEEALSO: SPICE:opanalysis
  319.  
  320. SUBJECT: analyses
  321. TITLE: Analysis Types
  322. TEXT: 
  323. TEXT:                The  following  analyses  are  currently  available  in
  324. TEXT: H          SPICE3.
  325. TEXT: H
  326. TEXT: 
  327. SUBTOPIC: SPICE:acanalysis SPICE:dcanalysis SPICE:opanalysis
  328. SUBTOPIC: SPICE:pzanalysis SPICE:trananalysis
  329. SEEALSO: SPICE:run
  330.  
  331. SUBJECT: acanalysis
  332. TITLE: AC Small-Signal Analysis
  333. TEXT: 
  334. TEXT:                The ac small-signal portion of SPICE  computes  the  ac
  335. TEXT: H          output  variables  as  a function of frequency.  The program
  336. TEXT: H          first computes the dc operating point  of  the  circuit  and
  337. TEXT: H          determines  linearized,  small-signal  models for all of the
  338. TEXT: H          nonlinear devices in the circuit.  The resultant linear cir-
  339. TEXT: H          cuit  is  then  analyzed over a user-specified range of fre-
  340. TEXT: H          quencies.  The desired output of an ac small-signal analysis
  341. TEXT: H          is  usually  a  transfer  function  (voltage  gain, transim-
  342. TEXT: H          pedance, etc).  If the circuit has only one ac input, it  is
  343. TEXT: H          convenient  to  set  that  input to unity and zero phase, so
  344. TEXT: H          that output variables have the same value  as  the  transfer
  345. TEXT: H          function of the output variable with respect to the input.
  346. TEXT: H
  347. TEXT:           GGeneral form:
  348. TEXT: H
  349. TEXT:                .AC DEC H_N_D _F_S_T_A_R_T _F_S_T_O_P
  350. TEXT: H               G.AC OCT H_N_O _F_S_T_A_R_T _F_S_T_O_P
  351. TEXT: H               G.AC LIN H_N_P _F_S_T_A_R_T _F_S_T_O_P
  352. TEXT: H
  353. TEXT:           GExamples:
  354. TEXT: H
  355. TEXT:                .AC DEC H10 1 10K
  356. TEXT: H               G.AC DEC H10 1K 100MEG
  357. TEXT: H               G.AC LIN H100 1 100HZ
  358. TEXT: H
  359. TEXT: 
  360. TEXT:                GDEC Hstands for decade variation, and _N_D is  the  number
  361. TEXT: H          of  points per decade.  GOCT Hstands for octave variation, and
  362. TEXT: H          _N_O is the number of  points  per  octave.   GLIN  Hstands  for
  363. TEXT: H          linear variation, and _N_P is the number of points.  _F_S_T_A_R_T is
  364. TEXT: H          the starting frequency, and _F_S_T_O_P is  the  final  frequency.
  365. TEXT: H          If  this  line  is  included in the circuit file, SPICE will
  366. TEXT: H          perform an ac analysis of the  circuit  over  the  specified
  367. TEXT: H          frequency range.  Note that in order for this analysis to be
  368. TEXT: H          meaningful, at least one independent source must  have  been
  369. TEXT: H          specified with an ac value.
  370. TEXT: H
  371. TEXT: 
  372. SEEALSO: SPICE:ac
  373.  
  374. SUBJECT: dcanalysis
  375. TITLE: DC Analysis
  376. TEXT: 
  377. TEXT:                The dc analysis portion  of  SPICE  determines  the  dc
  378. TEXT: H          operating  point  of  the circuit with inductors shorted and
  379. TEXT: H          capacitors opened.  A dc analysis is automatically performed
  380. TEXT: H          prior  to  a  transient  analysis to determine the transient
  381. TEXT: H          initial conditions, and prior to an ac small-signal analysis
  382. TEXT: H          to  determine  the  linearized, small-signal models for non-
  383. TEXT: H          linear devices.  The dc analysis can also be  used  to  gen-
  384. TEXT: H          erate  dc  transfer curves:  a specified independent voltage
  385. TEXT: H          or current source is stepped over a user-specified range and
  386. TEXT: H          the  dc  output  variables  are  stored  for each sequential
  387. TEXT: H          source value.
  388. TEXT: H
  389. TEXT:           GGeneral form:
  390. TEXT: H
  391. TEXT:                .DC H_S_R_C_N_A_M _V_S_T_A_R_T _V_S_T_O_P _V_I_N_C_R <_S_R_C_2 _S_T_A_R_T_2 _S_T_O_P_2 _I_N_C_R_2>
  392. TEXT: H
  393. TEXT:           GExamples:
  394. TEXT: H
  395. TEXT:                .DC HVIN 0.25 5.0 0.25
  396. TEXT: H               G.DC HVDS 0 10 .5 VGS 0 5 1
  397. TEXT: H               G.DC HVCE 0 10 .25 IB 0 10U 1U
  398. TEXT: H
  399. TEXT: 
  400. TEXT:                This line defines the  dc  transfer  curve  source  and
  401. TEXT: H          sweep  limits.  _S_R_C_N_A_M is the name of an independent voltage
  402. TEXT: H          or current source.  _V_S_T_A_R_T, _V_S_T_O_P, and _V_I_N_C_R are the  start-
  403. TEXT: H          ing, final, and incrementing values respectively.  The first
  404. TEXT: H          example will cause the value of the voltage source _V_I_N to be
  405. TEXT: H          swept  from  0.25  Volts  to 5.0 Volts in increments of 0.25
  406. TEXT: H          Volts.  A second source (_S_R_C_2) may optionally  be  specified
  407. TEXT: H          with  associated  sweep parameters.  In this case, the first
  408. TEXT: H          source will be swept over its range for each  value  of  the
  409. TEXT: H          second source.  This option can be useful for obtaining sem-
  410. TEXT: H          iconductor device output characteristics.   See  the  second
  411. TEXT: H          example circuit in the GExamples Hsection of the guide.
  412. TEXT: H
  413. TEXT: 
  414. SEEALSO: SPICE:dc
  415.  
  416. SUBJECT: opanalysis
  417. TITLE: Operating Point
  418. TEXT: 
  419. TEXT:           GGeneral form:
  420. TEXT: H
  421. TEXT:                .OP
  422. TEXT: H
  423. TEXT: 
  424. TEXT:                HThe inclusion of this line in an input file will  force
  425. TEXT: H          SPICE  to  determine  the  dc operating point of the circuit
  426. TEXT: H          with inductors shorted and capacitors opened.  Note:   a  dc
  427. TEXT: H          analysis  is  automatically  performed  prior to a transient
  428. TEXT: H          analysis to determine the transient initial conditions,  and
  429. TEXT: H          prior  to  an  ac  small-signal  analysis  to  determine the
  430. TEXT: H          linearized, small-signal models for nonlinear devices.
  431. TEXT: H
  432. TEXT:                SPICE performs a dc  operating  point  analysis  if  no
  433. TEXT: H          other analyses are requested.
  434. TEXT: H
  435. TEXT: 
  436. SEEALSO: SPICE:op
  437.  
  438. SUBJECT: pzanalysis
  439. TITLE: Pole-Zero Analysis
  440. TEXT: 
  441. TEXT:                The pole-zero analysis portion of  SPICE  computes  the
  442. TEXT: H          poles and/or zeros in the small-signal ac transfer function.
  443. TEXT: H          The program first computes the dc operating point  and  then
  444. TEXT: H          determines  the  linearized, small-signal models for all the
  445. TEXT: H          nonlinear devices in the circuit. This circuit is then  used
  446. TEXT: H          to find the poles and zeros.
  447. TEXT: H
  448. TEXT:                Two types of transfer functions are allowed: one of the
  449. TEXT: H          form  (output  voltage)/(input voltage) and the other of the
  450. TEXT: H          form (output voltage)/(input current).  These two  types  of
  451. TEXT: H          transfer  functions cover all the cases and one can find the
  452. TEXT: H          poles/zeros of functions  like  input/output  impedance  and
  453. TEXT: H          voltage  gain.   The input and output ports are specified as
  454. TEXT: H          two pairs of nodes.
  455. TEXT: H
  456. TEXT:                The pole-zero analysis works  with  resistors,  capaci-
  457. TEXT: H          tors,   inductors,  linear-controlled  sources,  independent
  458. TEXT: H          sources, BJTs,  MOSFETs,  JFETs  and  diodes.   Transmission
  459. TEXT: H          lines are not supported.
  460. TEXT: H
  461. TEXT:           GGeneral forms:
  462. TEXT: H
  463. TEXT:                 .PZ H_N_O_D_E_1 _N_O_D_E_2 _N_O_D_E_3 _N_O_D_E_4 _C_U_R _P_O_L
  464. TEXT: H                G.PZ H_N_O_D_E_1 _N_O_D_E_2 _N_O_D_E_3 _N_O_D_E_4 _C_U_R _Z_E_R
  465. TEXT: H                G.PZ H_N_O_D_E_1 _N_O_D_E_2 _N_O_D_E_3 _N_O_D_E_4 _C_U_R _P_Z
  466. TEXT: H                G.PZ H_N_O_D_E_1 _N_O_D_E_2 _N_O_D_E_3 _N_O_D_E_4 _V_O_L _P_O_L
  467. TEXT: H                G.PZ H_N_O_D_E_1 _N_O_D_E_2 _N_O_D_E_3 _N_O_D_E_4 _V_O_L _Z_E_R
  468. TEXT: H                G.PZ H_N_O_D_E_1 _N_O_D_E_2 _N_O_D_E_3 _N_O_D_E_4 _V_O_L _P_Z
  469. TEXT: H
  470. TEXT:           GExamples:
  471. TEXT: H
  472. TEXT:                .PZ 1 0 3 0 CUR POL
  473. TEXT: H               .PZ 2 3 5 0 VOL ZER
  474. TEXT: H               .PZ 4 1 4 1 CUR PZ
  475. TEXT: H
  476. TEXT: 
  477. TEXT:                HCUR stands for a transfer function of the type  (output
  478. TEXT: H          voltage)/(input  current)  while  VOL  stands for a transfer
  479. TEXT: H          function of the type (output voltage)/(input voltage).   POL
  480. TEXT: H          stands  for  pole  analysis only, ZER for zero analysis only
  481. TEXT: H          and PZ for both.  This feature is provided mainly because if
  482. TEXT: H          there  is  a nonconvergence in finding poles or zeros, then,
  483. TEXT: H          at least the other can be found.  Finally, NODE1  and  NODE2
  484. TEXT: H          are the two input nodes and NODE3 and NODE4 are the two out-
  485. TEXT: H          put nodes.  Thus, there is complete  freedom  regarding  the
  486. TEXT: H          output and input ports and the type of transfer function.
  487. TEXT: H
  488. TEXT:                In interactive mode, the command  syntax  is  the  same
  489. TEXT: H          except  that the first field is PZ instead of .PZ.  To print
  490. TEXT: H          the results, one should use the command 'print all'.
  491. TEXT: H
  492. TEXT: 
  493. SEEALSO: SPICE:pz
  494.  
  495. SUBJECT: pz
  496. TITLE: pz
  497. TEXT: 
  498. TEXT:      Gpz H._p_z _c_a_r_d _o_p_t_i_o_n_s
  499. TEXT: H          Run a pole-zero analysis.  See the SPICE3 User's Guide
  500. TEXT: H          for details.  This command is only available in GspiceH.
  501. TEXT: H
  502. TEXT: 
  503. SEEALSO: SPICE:pzanalysis
  504.  
  505. SUBJECT: setcirc
  506. TITLE: setcirc
  507. TEXT: 
  508. TEXT:      Gsetcirc H[ _c_i_r_c_u_i_t_n_a_m_e ]
  509. TEXT: H          Change the current circuit. The current circuit is the
  510. TEXT: H          one that is used for the simulation commands.  When a
  511. TEXT: H          circuit is loaded with the Gsource Hcommand, it becomes
  512. TEXT: H          the current circuit.  If Gsetcirc His given no arguments,
  513. TEXT: H          it prints a menu of the available circuits.
  514. TEXT: H
  515. TEXT: 
  516.  
  517. SUBJECT: ac
  518. TITLE: ac
  519. TEXT: 
  520. TEXT:      Gac H._a_c _c_a_r_d _a_r_g_u_m_e_n_t_s
  521. TEXT: H          Do an ac analysis of the current circuit.  See the
  522. TEXT: H          SPICE3 User's Guide for details.  Only available in
  523. TEXT: H          GspiceH.
  524. TEXT: H
  525. TEXT: 
  526. SEEALSO: SPICE:acanalysis
  527.  
  528. SUBJECT: dc
  529. TITLE: dc
  530. TEXT: 
  531. TEXT:      Gdc H._d_c _c_a_r_d _a_r_g_u_m_e_n_t_s
  532. TEXT: H          Calculate the dc transfer curve of the current circuit.
  533. TEXT: H          See the SPICE3 User's Guide for details.  Only avail-
  534. TEXT: H          able in GspiceH.
  535. TEXT: H
  536. TEXT: 
  537. SEEALSO: SPICE:dcanalysis
  538.  
  539. SUBJECT: subckts
  540. TITLE: Subcircuits
  541. TEXT: 
  542. TEXT:                A subcircuit that consists of  SPICE  elements  can  be
  543. TEXT: H          defined  and  referenced  in  a  fashion  similar  to device
  544. TEXT: H          models.  The subcircuit is defined in the input  file  by  a
  545. TEXT: H          grouping  of  element lines;  the program then automatically
  546. TEXT: H          inserts the group of elements  wherever  the  subcircuit  is
  547. TEXT: H          referenced.   There is no limit on the size or complexity of
  548. TEXT: H          subcircuits, and subcircuits may contain other  subcircuits.
  549. TEXT: H          An example of subcircuit usage is given in Appendix A.
  550. TEXT: H
  551. TEXT:           _1._1.  ._S_U_B_C_K_T _C_a_r_d
  552. TEXT: H
  553. TEXT:           GGeneral form:
  554. TEXT: H
  555. TEXT:                .SUBCKT H_s_u_b_n_a_m _N_1 <_N_2 _N_3 ...>
  556. TEXT: H
  557. TEXT:           GExamples:
  558. TEXT: H
  559. TEXT:                H.GSUBCKT HOPAMP 1 2 3 4
  560. TEXT: H
  561. TEXT: 
  562. TEXT:                A circuit definition is  begun  with  a  G.SUBCKT  Hline.
  563. TEXT: H          _S_U_B_N_A_M  is  the  subcircuit  name,  and  _N_1, _N_2, ... are the
  564. TEXT: H          external nodes, which cannot be zero.  The group of  element
  565. TEXT: H          lines  which  immediately follow the G.SUBCKT Hline define the
  566. TEXT: H          subcircuit.  The last line in a subcircuit definition is the
  567. TEXT: H          G.ENDS Hline (see below).  Control lines may not appear within
  568. TEXT: H          a subcircuit definition;   however,  subcircuit  definitions
  569. TEXT: H          may contain anything else, including other subcircuit defin-
  570. TEXT: H          itions, device models, and  subcircuit  calls  (see  below).
  571. TEXT: H          Note  that  any  device  models  or  subcircuit  definitions
  572. TEXT: H          included as part of a  subcircuit  definition  are  strictly
  573. TEXT: H          local  (i.e., such models and definitions are not known out-
  574. TEXT: H          side the subcircuit definition).  Also,  any  element  nodes
  575. TEXT: H          not  included  on  the G.SUBCKT Hline are strictly local, with
  576. TEXT: H          the exception of 0 (ground) which is always global.
  577. TEXT: H
  578. TEXT:           _1._2.  ._E_N_D_S _C_a_r_d
  579. TEXT: H
  580. TEXT:           GGeneral form:
  581. TEXT: H
  582. TEXT:                .ENDS H<_S_U_B_N_A_M>
  583. TEXT: H
  584. TEXT:           GExamples:
  585. TEXT: H
  586. TEXT:                .ENDS HOPAMP
  587. TEXT: H
  588. TEXT: 
  589. TEXT:                This line must be  the  last  one  for  any  subcircuit
  590. TEXT: H          definition.   The  subcircuit  name,  if included, indicates
  591. TEXT: H          which subcircuit definition is being terminated;   if  omit-
  592. TEXT: H          ted, all subcircuits being defined are terminated.  The name
  593. TEXT: H          is needed only when nested subcircuit definitions are  being
  594. TEXT: H          made.
  595. TEXT: H
  596. TEXT: 
  597. TEXT:           _1._3.  _S_u_b_c_i_r_c_u_i_t _C_a_l_l_s
  598. TEXT: H
  599. TEXT:           GGeneral form:
  600. TEXT: H
  601. TEXT:               XH_X_Y_Y_Y_Y_Y_Y_Y _N_1 <_N_2 _N_3 ...> _S_U_B_N_A_M
  602. TEXT: H
  603. TEXT:           GExamples:
  604. TEXT: H
  605. TEXT:               XH1 2 4 17 3 1 MULTI
  606. TEXT: H
  607. TEXT: 
  608. TEXT:                Subcircuits are used in  SPICE  by  specifying  pseudo-
  609. TEXT: H          elements beginning with the letter `X', followed by the cir-
  610. TEXT: H          cuit nodes to be used in expanding the subcircuit.
  611. TEXT: H
  612. TEXT:                Note that when a circuit is  parsed,  all  devices  and
  613. TEXT: H          local     nodes    in    subcircuits    are    renamed    as
  614. TEXT: H          _d_e_v_i_c_e_t_y_p_eG:H_s_u_b_c_k_t_n_a_m_eG:H_d_e_v_i_c_e_n_a_m_e.      Nested     subcircuit
  615. TEXT: H          instances  will  have  multiple  colon-seperated qualifiers.
  616. TEXT: H          GNutmeg Hwill also accept  subcircuit  names  with  components
  617. TEXT: H          seperated by periods, so long as the names do not clash with
  618. TEXT: H          names specifiable as _p_l_o_t_n_a_m_eG.H_v_a_l_u_e.
  619. TEXT: H
  620. TEXT: 
  621.  
  622. SUBJECT: titlecard
  623. TITLE: Title Line
  624. TEXT: 
  625. TEXT:                This line must be the first line in the input file.  It
  626. TEXT: H          is printed at the top of each page of output.
  627. TEXT: H
  628. TEXT:           GExamples:
  629. TEXT: H
  630. TEXT:               HPOWER AMPLIFIER CIRCUIT
  631. TEXT: H              TEST OF CAM CELL
  632. TEXT: H
  633. TEXT: 
  634.  
  635. SUBJECT: models
  636. TITLE: Device Models
  637. TEXT: 
  638. TEXT:           GGeneral form:
  639. TEXT: H
  640. TEXT:                .MODEL H_M_N_A_M_E _T_Y_P_E(_P_N_A_M_E_1=_P_V_A_L_1 _P_N_A_M_E_2=_P_V_A_L_2 ... )
  641. TEXT: H
  642. TEXT:           GExamples:
  643. TEXT: H
  644. TEXT:                .MODEL HMOD1 NPN (BF=50 IS=1E-13 VBF=50)
  645. TEXT: H
  646. TEXT: 
  647. TEXT:                The G.MODEL Hline specifies a  set  of  model  parameters
  648. TEXT: H          that  will  be  used  by  one or more devices.  _M_N_A_M_E is the
  649. TEXT: H          model name, and type is one of the following ten types:
  650. TEXT: H
  651. TEXT:                       GR      Hresistor model
  652. TEXT: H                      GC      Hcapacitor model
  653. TEXT: H                      GURC    HUniform Distributed RC model
  654. TEXT: H                      GD      Hdiode model
  655. TEXT: H                      GNPN    HNPN BJT model
  656. TEXT: H                      GPNP    HPNP BJT model
  657. TEXT: H                      GNJF    HN-channel JFET model
  658. TEXT: H                      GPJF    HP-channel JFET model
  659. TEXT: H                      GNMOS   HN-channel MOSFET model
  660. TEXT: H                      GPMOS   HP-channel MOSFET model
  661. TEXT: H                      GNMF    HN-channel MESFET model
  662. TEXT: H                      GPMF    HP-channel MESFET model
  663. TEXT: H                      GSW     Hvoltage controlled switch
  664. TEXT: H                      GCSW    Hcurrent controlled switch
  665. TEXT: H
  666. TEXT: 
  667. TEXT:                Parameter values are defined by appending the parameter
  668. TEXT: H          name,  as  given  below  for each model type, followed by an
  669. TEXT: H          equal sign and the parameter value.  Model  parameters  that
  670. TEXT: H          are  not given a value are assigned the default values given
  671. TEXT: H          below for each model type.
  672. TEXT: H
  673. TEXT: 
  674. SUBTOPIC: SPICE:bjt SPICE:c SPICE:d
  675. SUBTOPIC: SPICE:jfet SPICE:mesfet SPICE:mosfet
  676. SUBTOPIC: SPICE:rmodel SPICE:swmodel SPICE:urc
  677.  
  678.  
  679. SUBJECT: bjt
  680. TITLE: BJT Models
  681. TEXT: 
  682. TEXT:                The bipolar junction transistor model in  SPICE  is  an
  683. TEXT: H          adaptation  of  the  integral charge control model of Gummel
  684. TEXT: H          and Poon.  This modified Gummel-Poon model extends the  ori-
  685. TEXT: H          ginal  model to include several effects at high bias levels.
  686. TEXT: H          The model will automatically simplify to the simpler  Ebers-
  687. TEXT: H          Moll  model  when  certain parameters are not specified. The
  688. TEXT: H          parameter names used in the modified Gummel-Poon model  have
  689. TEXT: H          been  chosen  to  be  more  easily understood by the program
  690. TEXT: H          user, and to reflect better both physical and circuit design
  691. TEXT: H          thinking.
  692. TEXT: H
  693. TEXT:                The dc model is defined by the parameters GIS,  BF,  NF,
  694. TEXT: H          ISE,  IKFH,  and  GNE Hwhich determine the forward current gain
  695. TEXT: H          characteristics, GIS, BR, NR, ISC, IKRH, and GNC  Hwhich  deter-
  696. TEXT: H          mine  the  reverse current gain characteristics, and GVAF Hand
  697. TEXT: H          GVAR Hwhich determine the output conductance for  forward  and
  698. TEXT: H          reverse regions.  Three ohmic resistances GRB, RCH, and GRE Hare
  699. TEXT: H          included, where GRB Hcan  be  high  current  dependent.   Base
  700. TEXT: H          charge  storage  is  modeled  by forward and reverse transit
  701. TEXT: H          times, GTF Hand GTRH, the forward transit  time  TF  being  bias
  702. TEXT: H          dependent  if desired, and nonlinear depletion layer capaci-
  703. TEXT: H          tances which are determined by GCJE, VJEH, and GMJE Hfor the B-E
  704. TEXT: H          junction  ,  GCJC, VJCH, and GMJC Hfor the B-C junction and GCJS,
  705. TEXT: H          VJSH, and GMJS Hfor  the  C-S  (Collector-Substrate)  junction.
  706. TEXT: H          The temperature dependence of the saturation current, GISH, is
  707. TEXT: H          determined by the energy-gap, GEGH, and the saturation current
  708. TEXT: H          temperature  exponent,  GXTIH.  Additionally base current tem-
  709. TEXT: H          perature dependence  is  modeled  by  the  beta  temperature
  710. TEXT: H          exponent GXTB Hin the new model.
  711. TEXT: H
  712. TEXT:                The  BJT parameters used in  the  modified  Gummel-Poon
  713. TEXT: H          model  are listed below. The parameter names used in earlier
  714. TEXT: H          versions of SPICE2 are still accepted.
  715. TEXT: H
  716. TEXT:                                   Modified Gummel-Poon BJT Parameters.
  717. TEXT: H               name   parameter                               units   default    example   area
  718. TEXT: H
  719. TEXT: H          1    GIS     Htransport saturation current            A       1.0E-16    1.0E-15   *
  720. TEXT: H          2    GBF     Hideal maximum forward beta              -       100        100
  721. TEXT: H          3    GNF     Hforward current emission coefficient    -       1.0        1
  722. TEXT: H          4    GVAF    Hforward Early voltage                   V       infinite   200
  723. TEXT: H          5    GIKF    Hcorner for forward beta
  724. TEXT: H                      high current roll-off                   A       infinite   0.01      *
  725. TEXT: H          6    GISE    HB-E leakage saturation current          A       0          1.0E-13   *
  726. TEXT: H          7    GNE     HB-E leakage emission coefficient        -       1.5        2
  727. TEXT: H          8    GBR     Hideal maximum reverse beta              -       1          0.1
  728. TEXT: H          9    GNR     Hreverse current emission coefficient    -       1          1
  729. TEXT: H          10   GVAR    Hreverse Early voltage                   V       infinite   200
  730. TEXT: H          11   GIKR    Hcorner for reverse beta
  731. TEXT: H                      high current roll-off                   A       infinite   0.01      *
  732. TEXT: H          12   GISC    HB-C leakage saturation current          A       0          1.0E-13   *
  733. TEXT: H
  734. TEXT: 
  735. TEXT:           13   GNC     HB-C leakage emission coefficient        -       2          1.5
  736. TEXT: H          14   GRB     Hzero bias base resistance               Ohms    0          100       *
  737. TEXT: H          15   GIRB    Hcurrent where base resistance
  738. TEXT: H                      falls halfway to its min value          A       infinite   0.1       *
  739. TEXT: H          16   GRBM    Hminimum base resistance
  740. TEXT: H                      at high currents                        Ohms    RB         10        *
  741. TEXT: H          17   GRE     Hemitter resistance                      Ohms    0          1         *
  742. TEXT: H          18   GRC     Hcollector resistance                    Ohms    0          10        *
  743. TEXT: H          19   GCJE    HB-E zero-bias depletion capacitance     F       0          2PF       *
  744. TEXT: H          20   GVJE    HB-E built-in potential                  V       0.75       0.6
  745. TEXT: H          21   GMJE    HB-E junction exponential factor         -       0.33       0.33
  746. TEXT: H          22   GTF     Hideal forward transit time              sec     0          0.1Ns
  747. TEXT: H          23   GXTF    Hcoefficient for bias dependence of TF   -       0
  748. TEXT: H          24   GVTF    Hvoltage describing VBC
  749. TEXT: H                      dependence of TF                        V       infinite
  750. TEXT: H          25   GITF    Hhigh-current parameter
  751. TEXT: H                      for effect on TF                        A       0                    *
  752. TEXT: H          26   GPTF    Hexcess phase at freq=1.0/(TF*2PI) Hz    deg     0
  753. TEXT: H          27   GCJC    HB-C zero-bias depletion capacitance     F       0          2PF       *
  754. TEXT: H          28   GVJC    HB-C built-in potential                  V       0.75       0.5
  755. TEXT: H          29   GMJC    HB-C junction exponential factor         -       0.33       0.5
  756. TEXT: H          30   GXCJC   Hfraction of B-C depletion capacitance   -       1
  757. TEXT: H                      connected to internal base node
  758. TEXT: H          31   GTR     Hideal reverse transit time              sec     0          10Ns
  759. TEXT: H          32   GCJS    Hzero-bias collector-substrate
  760. TEXT: H                      capacitance                             F       0          2PF       *
  761. TEXT: H          33   GVJS    Hsubstrate junction built-in potential   V       0.75
  762. TEXT: H          34   GMJS    Hsubstrate junction exponential factor   -       0          0.5
  763. TEXT: H          35   GXTB    Hforward and reverse beta
  764. TEXT: H                      temperature exponent                    -       0
  765. TEXT: H          36   GEG     Henergy gap for temperature
  766. TEXT: H                      effect on IS                            eV      1.11
  767. TEXT: H          37   GXTI    Htemperature exponent for effect on IS   -       3
  768. TEXT: H          38   GKF     Hflicker-noise coefficient               -       0
  769. TEXT: H          39   GAF     Hflicker-noise exponent                  -       1
  770. TEXT: H          40   GFC     Hcoefficient for forward-bias
  771. TEXT: H                      depletion capacitance formula           -       0.5
  772. TEXT: H
  773. TEXT: 
  774. SEEALSO: SPICE:q
  775.  
  776. SUBJECT: c
  777. TITLE: Capacitor Models
  778. TEXT: 
  779. TEXT:                The capacitor model contains process  information  that
  780. TEXT: H          may  be  used  to  compute  the  capacitance  from  strictly
  781. TEXT: H          geometric information.
  782. TEXT: H
  783. TEXT:           Gname     Hparameter                       units       default   example
  784. TEXT: H
  785. TEXT: H          GCJ       Hjunction bottom capacitance     F/meters2   -         5e-5
  786. TEXT: H          GCJSW     Hjunction sidewall capacitance   F/meters    -         2e-11
  787. TEXT: H          GDEFW     Hdefault device width            meters      1e-6      2e-6
  788. TEXT: H          GNARROW   Hnarrowing due to side etching   meters      0.0       1e-7
  789. TEXT: H
  790. TEXT: 
  791. TEXT:                The capacitor has a capacitance computed as
  792. TEXT: H
  793. TEXT:           CAP=CJx(LENGTH-NARROW)x(WIDTH-NARROW)+2xCJSWx(LENGTH+WIDTH-2*NARROW)
  794. TEXT: H
  795. TEXT: 
  796. SEEALSO: SPICE:c
  797.  
  798. SUBJECT: d
  799. TITLE: Diode Models
  800. TEXT: 
  801. TEXT:                The dc characteristics of the diode are  determined  by
  802. TEXT: H          the  parameters  GIS  Hand  GNH.   An  ohmic  resistance, GRSH, is
  803. TEXT: H          included.  Charge storage effects are modeled by  a  transit
  804. TEXT: H          time,  GTTH, and a nonlinear depletion layer capacitance which
  805. TEXT: H          is determined by the parameters GCJO, VJH, and  GMH.   The  tem-
  806. TEXT: H          perature  dependence of the saturation current is defined by
  807. TEXT: H          the parameters  GEGH,  the  energy  and  GXTIH,  the  saturation
  808. TEXT: H          current  temperature exponent.  Reverse breakdown is modeled
  809. TEXT: H          by an exponential increase in the reverse diode current  and
  810. TEXT: H          is  determined  by  the parameters GBV Hand GIBV H(both of which
  811. TEXT: H          are positive numbers).
  812. TEXT: H
  813. TEXT:                Gname   Hparameter                        units   default    example    area
  814. TEXT: H
  815. TEXT: H           1   GIS     Hsaturation current               A       1.0E-14    1.0E-14    *
  816. TEXT: H           2   GRS     Hohmic resistance                 Ohm     0          10         *
  817. TEXT: H           3   GN      Hemission coefficient             -       1          1.0
  818. TEXT: H           4   GTT     Htransit-time                     sec     0          0.1Ns
  819. TEXT: H           5   GCJO    Hzero-bias junction capacitance   F       0          2PF        *
  820. TEXT: H           6   GVJ     Hjunction potential               V       1          0.6
  821. TEXT: H           7   GM      Hgrading coefficient              -       0.5        0.5
  822. TEXT: H           8   GEG     Hactivation energy                eV      1.11       1.11 Si
  823. TEXT: H                                                                          0.69 Sbd
  824. TEXT: H                                                                          0.67 Ge
  825. TEXT: H           9   GXTI    Hsaturation-current temp. exp     -       3.0        3.0 jn
  826. TEXT: H                                                                          2.0 Sbd
  827. TEXT: H          10   GKF     Hflicker noise coefficient        -       0
  828. TEXT: H          11   GAF     Hflicker noise exponent           -       1
  829. TEXT: H          12   GFC     Hcoefficient for forward-bias     -       0.5
  830. TEXT: H                      depletion capacitance formula
  831. TEXT: H          13   GBV     Hreverse breakdown voltage        V       infinite   40.0
  832. TEXT: H          14   GIBV    Hcurrent at breakdown voltage     A       1.0E-3
  833. TEXT: H
  834. TEXT: 
  835. SEEALSO: SPICE:juncd
  836.  
  837. SUBJECT: jfet
  838. TITLE: JFET Models
  839. TEXT: 
  840. TEXT:                The JFET model is derived from the FET model of  Shich-
  841. TEXT: H          man  and  Hodges.  The DC characteristics are defined by the
  842. TEXT: H          parameters GVTO Hand GBETAH, which determine  the  variation  of
  843. TEXT: H          drain  current  with  gate voltage, GLAMBDAH, which determines
  844. TEXT: H          the output conductance, and GISH, the  saturation  current  of
  845. TEXT: H          the  two  gate junctions.  Two ohmic resistances, GRD Hand GRSH,
  846. TEXT: H          are included.  Charge storage is modeled by nonlinear deple-
  847. TEXT: H          tion  layer  capacitances for both gate junctions which vary
  848. TEXT: H          as the -1/2 power of junction voltage and are defined by the
  849. TEXT: H          parameters GCGS, CGD, Hand GPBH.
  850. TEXT: H
  851. TEXT:                name     parameter                            units    default   example   area
  852. TEXT: H
  853. TEXT: H           1   GVTO      Hthreshold voltage                    V        -2.0      -2.0
  854. TEXT: H           2   GBETA     Htransconductance parameter           A/V**2   1.0E-4    1.0E-3    *
  855. TEXT: H           3   GLAMBDA   Hchannel length modulation
  856. TEXT: H                        parameter                            1/V      0         1.0E-4
  857. TEXT: H           4   GRD       Hdrain ohmic resistance               Ohm      0         100       *
  858. TEXT: H           5   GRS       Hsource ohmic resistance              Ohm      0         100       *
  859. TEXT: H           6   GCGS      Hzero-bias G-S junction capacitance   F        0         5PF       *
  860. TEXT: H           7   GCGD      Hzero-bias G-D junction capacitance   F        0         1PF       *
  861. TEXT: H           8   GPB       Hgate junction potential              V        1         0.6
  862. TEXT: H           9   GIS       Hgate junction saturation current     A        1.0E-14   1.0E-14   *
  863. TEXT: H          10   GKF       Hflicker noise coefficient            -        0
  864. TEXT: H          11   GAF       Hflicker noise exponent               -        1
  865. TEXT: H          12   GFC       Hcoefficient for forward-bias         -        0.5
  866. TEXT: H                        depletion capacitance formula
  867. TEXT: H
  868. TEXT: 
  869. SEEALSO: SPICE:j
  870.  
  871. SUBJECT: mesfet
  872. TITLE: MESFET Models
  873. TEXT: 
  874. TEXT:                The MESFET model is derived from the GaAs FET model  of
  875. TEXT: H          Statz  et  al.  as described in [4].  The dc characteristics
  876. TEXT: H          are defined by the parameters GVTOH, GBH, and GBETAH, which deter-
  877. TEXT: H          mine  the  variation  of  drain  current  with gate voltage,
  878. TEXT: H          GALPHAH, which  determines  saturation  voltage,  and  GLAMBDAH,
  879. TEXT: H          which  determines  the  output  conductance. The formula are
  880. TEXT: H          given by
  881. TEXT: H
  882. TEXT: 
  883. TEXT:           Id = 1 + b(Vgs - VT)
  884. TEXT:                  8| (Vgs-VT)2_______________
  885. TEXT:                                |
  886. TEXT:                                |
  887. TEXT:                                |
  888. TEXT:                                |
  889. TEXT:                                 1 -
  890. TEXT:                                     |
  891. TEXT:                                     |
  892. TEXT:                                     |
  893. TEXT:                                      1-o( 3
  894. TEXT:                                         Vds___
  895. TEXT:                                            |
  896. TEXT:                                            |
  897. TEXT:                                            |
  898. TEXT: 
  899. TEXT:                                             3|
  900. TEXT:                                              |
  901. TEXT:                                              |
  902. TEXT:                                              |
  903. TEXT:                                               (1 + ,\ Vds)     for 0<Vds<o(
  904. TEXT:                                                                         3_
  905. TEXT: H
  906. TEXT: 
  907. TEXT:                  Id = 1 + b(Vgs - VT)
  908. TEXT:                         8| (Vgs-VT)2_______________(1 + ,\ Vds)     for Vds>o(
  909. TEXT:                                                              3_
  910. TEXT: H
  911. TEXT:           Two ohmic resistances, GRD  Hand  GRSH,  are  included.   Charge
  912. TEXT: H          storage  is  modeled  by  total gate charge as a function of
  913. TEXT: H          gate-drain and gate-source voltages and is  defined  by  the
  914. TEXT: H          parameters GCGS, CGD, Hand GPBH.
  915. TEXT: H
  916. TEXT:                name     parameter                            units    default   example   area
  917. TEXT: H
  918. TEXT: H           1   GVTO      Hpinch-off voltage                    V        -2.0      -2.0
  919. TEXT: H           2   GBETA     Htransconductance parameter           A/V**2   1.0E-4    1.0E-3    *
  920. TEXT: H           3   GB        Hdoping tail extending parameter      1/V      0.3       0.3       *
  921. TEXT: H           4   GALPHA    Hsaturation voltage parameter         1/V      2         2         *
  922. TEXT: H           5   GLAMBDA   Hchannel length modulation
  923. TEXT: H                        parameter                            1/V      0         1.0E-4
  924. TEXT: H           6   GRD       Hdrain ohmic resistance               Ohm      0         100       *
  925. TEXT: H           7   GRS       Hsource ohmic resistance              Ohm      0         100       *
  926. TEXT: H           8   GCGS      Hzero-bias G-S junction capacitance   F        0         5PF       *
  927. TEXT: H           9   GCGD      Hzero-bias G-D junction capacitance   F        0         1PF       *
  928. TEXT: H          10   GPB       Hgate junction potential              V        1         0.6
  929. TEXT: H          11   GKF       Hflicker noise coefficient            -        0
  930. TEXT: H          12   GAF       Hflicker noise exponent               -        1
  931. TEXT: H          13   GFC       Hcoefficient for forward-bias         -        0.5
  932. TEXT: H                        depletion capacitance formula
  933. TEXT: H
  934. TEXT: 
  935. SEEALSO: SPICE:z
  936.  
  937. SUBJECT: mosfet
  938. TITLE: MOSFET Models
  939. TEXT: 
  940. TEXT:                SPICE provides four MOSFET device models, which  differ
  941. TEXT: H          in  the formulation of the I-V characteristic.  The variable
  942. TEXT: H          GLEVEL Hspecifies the model to be used:
  943. TEXT: H
  944. TEXT:              LEVEL = 1 ->    Shichman-Hodges
  945. TEXT: H             LEVEL = 2 ->    MOS2 (as described in [1])
  946. TEXT: H             LEVEL = 3 ->    MOS3, a semi-empirical model (see [1])
  947. TEXT: H             LEVEL = 4 ->    BSIM (as described in [2])
  948. TEXT: H
  949. TEXT: 
  950. TEXT:                The dc characteristics of the level 1 through  level  3
  951. TEXT: H          MOSFETs  are  defined  by  the  device  parameters  GVTO, KP,
  952. TEXT: H          LAMBDA, PHI Hand GGAMMAH.  These  parameters  are  computed  by
  953. TEXT: H          SPICE  if process parameters (GNSUB, TOXH, ...) are given, but
  954. TEXT: H          user-specified values  always  override.   GVTO  His  positive
  955. TEXT: H          (negative)  for enhancement mode and negative (positive) for
  956. TEXT: H          depletion mode N-channel (P-channel) devices. Charge storage
  957. TEXT: H          is  modeled  by  three  constant capacitors, GCGSO, CGDO, Hand
  958. TEXT: H          GCGBO Hwhich represent overlap capacitances, by the  nonlinear
  959. TEXT: H          thin-oxide  capacitance which is distributed among the gate,
  960. TEXT: H          source, drain,  and  bulk  regions,  and  by  the  nonlinear
  961. TEXT: H          depletion-layer  capacitances  for  both substrate junctions
  962. TEXT: H          divided into bottom and periphery, which vary as the GMJ  Hand
  963. TEXT: H          GMJSW  Hpower of junction voltage respectively, and are deter-
  964. TEXT: H          mined by the parameters GCBD, CBS, CJ, CJSW, MJ, MJSW Hand GPBH.
  965. TEXT: H          Charge  storage  effects are modeled by the piecewise linear
  966. TEXT: H          voltags-dependent capacitance model proposed by Meyer.   The
  967. TEXT: H          thin-oxide  charge storage effects are treated slightly dif-
  968. TEXT: H          ferent for the LEVEL =  1  model.   These  voltage-dependent
  969. TEXT: H          capacitances  are  included  only if GTOX His specified in the
  970. TEXT: H          input description and they  are  represented  using  Meyer's
  971. TEXT: H          formulation.
  972. TEXT: H
  973. TEXT:                There is some overlap among the  parameters  describing
  974. TEXT: H          the  junctions, e.g. the reverse current can be input either
  975. TEXT: H          as GIS H(in A) or as GJS H(in A/m**2). Whereas the first  is  an
  976. TEXT: H          absolute value the second is multiplied by GAD Hand GAS Hto give
  977. TEXT: H          the reverse  current  of  the  drain  and  source  junctions
  978. TEXT: H          respectively.  This  methodology has been chosen since there
  979. TEXT: H          is no sense in relating always junction characteristics with
  980. TEXT: H          GAD  Hand  GAS  Hentered  on  the  device line; the areas can be
  981. TEXT: H          defaulted.  The same idea  applies  also  to  the  zero-bias
  982. TEXT: H          junction capacitances GCBD Hand GCBS H(in F) on one hand, and GCJ
  983. TEXT: H          H(in F/m**2) on the other.  The parasitic  drain  and  source
  984. TEXT: H          series  resistance  can be expressed as either GRD Hand GRS H(in
  985. TEXT: H          ohms) or GRSH H(in ohms/sq.), the latter being  multiplied  by
  986. TEXT: H          the number of squares GNRD Hand GNRS Hinput on the device line.
  987. TEXT: H
  988. TEXT:                                      SPICE level 1 to level 3 parameters.
  989. TEXT: H               name     parameter                               units       default          example
  990. TEXT: H
  991. TEXT: H
  992. TEXT: 
  993. TEXT:           1    GLEVEL    Hmodel index                             -           1
  994. TEXT: H          2    GVTO      Hzero-bias threshold voltage             V           0.0              1.0
  995. TEXT: H          3    GKP       Htransconductance parameter              A/V**2      2.0E-5           3.1E-5
  996. TEXT: H          4    GGAMMA    Hbulk threshold parameter                V**0.5      0.0              0.37
  997. TEXT: H          5    GPHI      Hsurface potential                       V           0.6              0.65
  998. TEXT: H          6    GLAMBDA   Hchannel-length modulation
  999. TEXT: H                        (MOS1 and MOS2 only)                    1/V         0.0              0.02
  1000. TEXT: H          7    GRD       Hdrain ohmic resistance                  Ohm         0.0              1.0
  1001. TEXT: H          8    GRS       Hsource ohmic resistance                 Ohm         0.0              1.0
  1002. TEXT: H          9    GCBD      Hzero-bias B-D junction capacitance      F           0.0              20FF
  1003. TEXT: H          10   GCBS      Hzero-bias B-S junction capacitance      F           0.0              20FF
  1004. TEXT: H          11   GIS       Hbulk junction saturation current        A           1.0E-14          1.0E-15
  1005. TEXT: H          12   GPB       Hbulk junction potential                 V           0.8              0.87
  1006. TEXT: H          13   GCGSO     Hgate-source overlap capacitance
  1007. TEXT: H                        per meter channel width                 F/m         0.0              4.0E-11
  1008. TEXT: H          14   GCGDO     Hgate-drain overlap capacitance
  1009. TEXT: H                        per meter channel width                 F/m         0.0              4.0E-11
  1010. TEXT: H          15   GCGBO     Hgate-bulk overlap capacitance
  1011. TEXT: H                        per meter channel length                F/m         0.0              2.0E-10
  1012. TEXT: H          16   GRSH      Hdrain and source diffusion
  1013. TEXT: H                        sheet resistance                        Ohm/sq.     0.0              10.0
  1014. TEXT: H          17   GCJ       Hzero-bias bulk junction bottom cap.
  1015. TEXT: H                        per sq-meter of junction area           F/m**2      0.0              2.0E-4
  1016. TEXT: H          18   GMJ       Hbulk junction bottom grading coef.      -           0.5              0.5
  1017. TEXT: H          19   GCJSW     Hzero-bias bulk junction sidewall cap.
  1018. TEXT: H                        per meter of junction perimeter         F/m         0.0              1.0E-9
  1019. TEXT: H          20   GMJSW     Hbulk junction sidewall grading coef.    -           0.50(level1)
  1020. TEXT: H                                                                            0.33(level2,3)
  1021. TEXT: H          21   GJS       Hbulk junction saturation current
  1022. TEXT: H                        per sq-meter of junction area           A/m**2                       1.0E-8
  1023. TEXT: H          22   GTOX      Hoxide thickness                         meter       1.0E-7           1.0E-7
  1024. TEXT: H          23   GNSUB     Hsubstrate doping                        1/cm**3     0.0              4.0E15
  1025. TEXT: H          24   GNSS      Hsurface state density                   1/cm**2     0.0              1.0E10
  1026. TEXT: H          25   GNFS      Hfast surface state density              1/cm**2     0.0              1.0E10
  1027. TEXT: H          26   GTPG      Htype of gate material:                  -           1.0
  1028. TEXT: H                            +1 opp. to substrate
  1029. TEXT: H                            -1 same as substrate
  1030. TEXT: H                             0  Al gate
  1031. TEXT: H          27   GXJ       Hmetallurgical junction depth            meter       0.0              1U
  1032. TEXT: H          28   GLD       Hlateral diffusion                       meter       0.0              0.8U
  1033. TEXT: H          29   GUO       Hsurface mobility                        cm**2/V-s   600              700
  1034. TEXT: H          30   GUCRIT    Hcritical field for mobility
  1035. TEXT: H                        degradation (MOS2 only)                 V/cm        1.0E4            1.0E4
  1036. TEXT: H          31   GUEXP     Hcritical field exponent in
  1037. TEXT: H                        mobility degradation (MOS2 only)        -           0.0              0.1
  1038. TEXT: H          32   GUTRA     Htransverse field coef (mobility)
  1039. TEXT: H                        (deleted for MOS2)                      -           0.0              0.3
  1040. TEXT: H          33   GVMAX     Hmaximum drift velocity of carriers      m/s         0.0              5.0E4
  1041. TEXT: H          34   GNEFF     Htotal channel charge (fixed and
  1042. TEXT: H                        mobile) coefficient (MOS2 only)         -           1.0              5.0
  1043. TEXT: H          35   GKF       Hflicker noise coefficient               -           0.0              1.0E-26
  1044. TEXT: H          36   GAF       Hflicker noise exponent                  -           1.0              1.2
  1045. TEXT: H          37   GFC       Hcoefficient for forward-bias
  1046. TEXT: H
  1047. TEXT: 
  1048. TEXT:                         depletion capacitance formula           -           0.5
  1049. TEXT: H          38   GDELTA    Hwidth effect on threshold voltage
  1050. TEXT: H                        (MOS2 and MOS3)                         -           0.0              1.0
  1051. TEXT: H          39   GTHETA    Hmobility modulation (MOS3 only)         1/V         0.0              0.1
  1052. TEXT: H          40   GETA      Hstatic feedback (MOS3 only)             -           0.0              1.0
  1053. TEXT: H          41   GKAPPA    Hsaturation field factor (MOS3 only)     -           0.2              0.5
  1054. TEXT: H
  1055. TEXT: 
  1056. TEXT:                The level 4 parameters are  all  values  obtained  from
  1057. TEXT: H          process  characterization,  and  can  be generated automati-
  1058. TEXT: H          cally.  J. Pierret [3] describes a  means  of  generating  a
  1059. TEXT: H          'process'  file,  and  the  program  GProc2Mod  Hprovided with
  1060. TEXT: H          SPICE3 will convert this file  into  a  sequence  of  G.MODEL
  1061. TEXT: H          Hlines  suitable  for  inclusion  in  a  SPICE  circuit file.
  1062. TEXT: H          Parameters marked below with an * in  the  l/w  column  also
  1063. TEXT: H          have corresponding parameters with a length and width depen-
  1064. TEXT: H          dency.  For example, GVFB His the basic parameter  with  units
  1065. TEXT: H          of  Volts,  and  GLVFB  Hand GWVFB Halso exist and have units of
  1066. TEXT: H          Volt-umeter The formula
  1067. TEXT: H
  1068. TEXT:                            P=P0+Leffective
  1069. TEXT:                                     PL__________+Weffective
  1070. TEXT:                                                PW__________
  1071. TEXT: H
  1072. TEXT:           is used to evaluate the  parameter  for  the  actual  device
  1073. TEXT: H          specified with
  1074. TEXT: H
  1075. TEXT:                               Leffective=Linput-DL
  1076. TEXT: H
  1077. TEXT:           and
  1078. TEXT: H
  1079. TEXT:                               Weffective=Winput-DW
  1080. TEXT: H
  1081. TEXT: 
  1082. TEXT:                Note that unlike the other models in  SPICE,  the  BSIM
  1083. TEXT: H          model  is  designed  for use with a process characterization
  1084. TEXT: H          system that provides all the parameters, thus there  are  no
  1085. TEXT: H          defaults  for  the  parameters,  and leaving one out is con-
  1086. TEXT: H          sidered an error.  For an example set of parameters and  the
  1087. TEXT: H          format  of  a  process  file,  see the SPICE2 implementation
  1088. TEXT: H          notes[2].
  1089. TEXT: H
  1090. TEXT:                                           SPICE BSIM (level 4) parameters.
  1091. TEXT: H          name    parameter                                                                 units      l/w
  1092. TEXT: H
  1093. TEXT: H          GVFB     Hflat-band voltage                                                         V          *
  1094. TEXT: H          GPHI     Hsurface inversion potential                                               V          *
  1095. TEXT: H          GK1      Hbody effect coefficient                                                   V1/2       *
  1096. TEXT: H          GK2      Hdrain/source depletion charge sharing coefficient                         -          *
  1097. TEXT: H          GETA     Hzero-bias drain-induced barrier lowering coefficient                      -          *
  1098. TEXT: H          GMUZ     Hzero-bias mobility                                                        cm2/V-s
  1099. TEXT: H          GDL      Hshortening of channel                                                     um
  1100. TEXT: H          GDW      Hnarrowing of channel                                                      um
  1101. TEXT: H
  1102. TEXT: 
  1103. TEXT:           GU0      Hzero-bias transverse-field mobility degradation coefficient               V-1        *
  1104. TEXT: H          GU1      Hzero-bias velocity saturation coefficient                                 um/V       *
  1105. TEXT: H          GX2MZ    Hsens. of mobility to substrate bias at vds=0                              cm2/V2-s   *
  1106. TEXT: H          GX2E     Hsens. of drain-induced barrier lowering effect to substrate bias          V-1        *
  1107. TEXT: H          GX3E     Hsens. of drain-induced barrier lowering effect to drain bias at Vds=Vdd   V-1        *
  1108. TEXT: H          GX2U0    Hsens. of transverse field mobility degradation effect to substrate bias   V-2        *
  1109. TEXT: H          GX2U1    Hsens. of velocity saturation effect to substrate bias                     umV-2      *
  1110. TEXT: H          GMUS     Hmobility at zero substrate bias and at Vds=Vdd                            cm2/V2-s
  1111. TEXT: H          GX2MS    Hsens. of mobility to substrate bias at Vds=Vdd                            cm2/V2-s   *
  1112. TEXT: H          GX3MS    Hsens. of mobility to drain bias at Vds=Vdd                                cm2/V2-s   *
  1113. TEXT: H          GX3U1    Hsens. of velocity saturation effect on drain bias at Vds=Vdd              umV-2      *
  1114. TEXT: H          GTOX     Hgate oxide thickness                                                      um
  1115. TEXT: H          GTEMP    Htemperature at which parameters were measured                             C
  1116. TEXT: H          GVDD     Hmeasurement bias range                                                    V
  1117. TEXT: H          GCGDO    Hgate-drain overlap capacitance per meter channel width                    F/m
  1118. TEXT: H          GCGSO    Hgate-source overlap capacitance per meter channel width                   F/m
  1119. TEXT: H          GCGBO    Hgate-bulk overlap capacitance per meter channel length                    F/m
  1120. TEXT: H          GXPART   Hgate-oxide capacitance charge model flag                                  -
  1121. TEXT: H          GN0      Hzero-bias subthreshold slope coefficient                                  -          *
  1122. TEXT: H          GNB      Hsens. of subthreshold slope to substrate bias                             -          *
  1123. TEXT: H          GND      Hsens. of subthreshold slope to drain bias                                 -          *
  1124. TEXT: H          GRSH     Hdrain and source diffusion sheet resistance                               O_/[]
  1125. TEXT: H          GJS      Hsource drain junction current density                                     A/m2
  1126. TEXT: H          GPB      Hbuilt in potential of source drain junction                               V
  1127. TEXT: H          GMJ      HGrading coefficient of source drain junction                              -
  1128. TEXT: H          GPBSW    Hbuilt in potential of source,drain juntion sidewall                       V
  1129. TEXT: H          GMJSW    Hgrading coefficient of source drain junction sidewall                     -
  1130. TEXT: H          GCJ      HSource drain junction capacitance per unit area                           F/m2
  1131. TEXT: H          GCJSW    Hsource drain junction sidewall capacitance per unit length                F/m
  1132. TEXT: H          GWDF     Hsource drain junction default width                                       m
  1133. TEXT: H          GDELL    HSource drain junction length reduction                                    m
  1134. TEXT: H
  1135. TEXT: 
  1136. TEXT:                GXPART H= 0 selects a 40/60 drain/source charge partition
  1137. TEXT: H          in  saturation, while GXPART H= 1 selects a 0/100 drain/source
  1138. TEXT: H          charge partition.
  1139. TEXT: H
  1140. TEXT: 
  1141. SEEALSO: SPICE:m
  1142.  
  1143. SUBJECT: rmodel
  1144. TITLE: Resistor Models
  1145. TEXT: 
  1146. TEXT:                The resistor model consists of  process-related  device
  1147. TEXT: H          data  that  allow  the  resistance  to  be  calculated  from
  1148. TEXT: H          geometric information and to be corrected  for  temperature.
  1149. TEXT: H          The parameters available are:
  1150. TEXT: H
  1151. TEXT:           Gname     Hparameter                         units    default   example
  1152. TEXT: H
  1153. TEXT: H          GTC1      Hfirst order temperature coeff.    O_/C      0.0       -
  1154. TEXT: H          GTC2      Hsecond order temperature coeff.   O_/C2     0.0       -
  1155. TEXT: H          GRSH      Hsheet resistance                  O_/[]     -         50
  1156. TEXT: H          GDEFW     Hdefault width                     meters   1e-6      2e-6
  1157. TEXT: H          GNARROW   Hnarrowing due to side etching     meters   0.0       1e-7
  1158. TEXT: H
  1159. TEXT: 
  1160. TEXT:                The sheet resistance is used with the narrowing parame-
  1161. TEXT: H          ter and _L and _W from the resistor line to determine the nom-
  1162. TEXT: H          inal resistance by the formula
  1163. TEXT: H
  1164. TEXT:                                  R=RSHxW-NARROW
  1165. TEXT:                                        L-NARROW________
  1166. TEXT: H
  1167. TEXT:           _D_E_F_W is used to supply a default value for _W if one  is  not
  1168. TEXT: H          specified  on  the  device  line.  If either _R_S_H or _L is not
  1169. TEXT: H          specified, then the standard default resistance value of  1k
  1170. TEXT: H          O_  is  used.  After the nominal resistance is calculated, it
  1171. TEXT: H          is adjusted for temperature by the formula:
  1172. TEXT: H
  1173. TEXT:             RES(temp)=RES(tnom)x(1+TC1x(temp-tnom)+TC2*(temp-tnom)2)
  1174. TEXT: H
  1175. TEXT: 
  1176. SEEALSO: SPICE:r
  1177.  
  1178. SUBJECT: swmodel
  1179. TITLE: Switch Models
  1180. TEXT: 
  1181. TEXT:                The switch model allows an almost ideal  switch  to  be
  1182. TEXT: H          described  in SPICE.  The switch is not quite ideal, in that
  1183. TEXT: H          the resistance can not change from 0 to infinity,  but  must
  1184. TEXT: H          always have a finite positive value.  By proper selection of
  1185. TEXT: H          the on and off resistances, they can be effectively zero and
  1186. TEXT: H          infinity  in  comparison  to  other  circuit  elements.  The
  1187. TEXT: H          parameters available are:
  1188. TEXT: H
  1189. TEXT:               name   parameter            units   default   switch
  1190. TEXT: H
  1191. TEXT: H              GVT     Hthreshold voltage    Volts   0.0       S
  1192. TEXT: H              GIT     Hthreshold current    Amps    0.0       W
  1193. TEXT: H              GVH     Hhysteresis voltage   Volts   0.0       S
  1194. TEXT: H              GIH     Hhysteresis current   Amps    0.0       W
  1195. TEXT: H              GRON    Hon resistance        O_       1.0       both
  1196. TEXT: H              GROFF   Hoff resistance       O_       1/GMIN*   both
  1197. TEXT: H
  1198. TEXT: 
  1199. TEXT:                *(See the  description  of  the  G.OPTIONS  Hline  for  a
  1200. TEXT: H          description  of  GGMINH,  its  default  value results is a off
  1201. TEXT: H          resistance of 1.0e+12 ohms.)
  1202. TEXT: H
  1203. TEXT:                The use of an ideal element that is  highly  non-linear
  1204. TEXT: H          such as a switch can cause large discontinuities to occur in
  1205. TEXT: H          the circuit node voltages.  A  rapid  change  such  as  that
  1206. TEXT: H          associated  with a switch changing state can cause numerical
  1207. TEXT: H          roundoff or tolerance problems leading to erroneous  results
  1208. TEXT: H          or  timestep difficulties.  The user of switches can improve
  1209. TEXT: H          the situation by taking the following steps:
  1210. TEXT: H
  1211. TEXT:                First of all it is wise to set ideal switch  impedences
  1212. TEXT: H          only  high  and  low enough to be negligible with respect to
  1213. TEXT: H          other circuit elements.  Using switch  impedences  that  are
  1214. TEXT: H          close  to "ideal" in all cases will aggravate the problem of
  1215. TEXT: H          discontinuities mentioned above.  Of course,  when  modeling
  1216. TEXT: H          real  devices  such  as MOSFETS, the on resistance should be
  1217. TEXT: H          adjusted to a realistic level depending on the size  of  the
  1218. TEXT: H          device being modelled.
  1219. TEXT: H
  1220. TEXT:                If a wide range of ON to OFF resistance must be used in
  1221. TEXT: H          the switches (ROFF/RON >1e+12), then the tolerance on errors
  1222. TEXT: H          allowed during transient analysis  should  be  decreased  by
  1223. TEXT: H          using the G.OPTIONS Hline and specifying GTRTOL Hto be less than
  1224. TEXT: H          the default value of 7.0.  When switches are  placed  around
  1225. TEXT: H          capacitors,  then  the option GCHGTOL Hshould also be reduced.
  1226. TEXT: H          Suggested values for these two options  are  1.0  and  1e-16
  1227. TEXT: H          respectively.   These changes inform SPICE3 to be more care-
  1228. TEXT: H          ful around the switch points so that no errors are made  due
  1229. TEXT: H          to the rapid change in the circuit.
  1230. TEXT: H
  1231. TEXT: 
  1232. SEEALSO: SPICE:sw
  1233.  
  1234. SUBJECT: urc
  1235. TITLE: URC Models
  1236. TEXT: 
  1237. TEXT:                The URC model is derived from a model  proposed  by  L.
  1238. TEXT: H          Gertzberrg  in 1974.  The model is accomplished by a subcir-
  1239. TEXT: H          cuit type expansion of the URC line into a network of lumped
  1240. TEXT: H          RC  segments  with  internally generated nodes.  The RC seg-
  1241. TEXT: H          ments are in a geometric progression, increasing toward  the
  1242. TEXT: H          middle  of  the  URC  line, with K as a proportionality con-
  1243. TEXT: H          stant.  The number of lumped segments used, if not specified
  1244. TEXT: H          on the URC line, is determined by the following formula:
  1245. TEXT: H
  1246. TEXT: 
  1247. TEXT:                         N=             logK
  1248. TEXT: 
  1249. TEXT:                           log
  1250. TEXT:                              |
  1251. TEXT:                              |
  1252. TEXT:                              |
  1253. TEXT:                               FmaxxL
  1254. TEXT:                                    R_xL
  1255. TEXT:                                      C_x2xi~i~xl2x|
  1256. TEXT:                                                |  K
  1257. TEXT:                                                 (K-1)_____|
  1258. TEXT:                                                      |2
  1259. TEXT:                                                        |
  1260. TEXT:                                                        |
  1261. TEXT:                                                        |______________________________
  1262. TEXT: H
  1263. TEXT: 
  1264. TEXT:                The URC line will be made up strictly of  resistor  and
  1265. TEXT: H          capacitor  segments  unless  the GISPERL Hparameter is given a
  1266. TEXT: H          non-zero value, in which case the  capacitors  are  replaced
  1267. TEXT: H          with reverse biased diodes with a zero-bias junction capaci-
  1268. TEXT: H          tance equivalent to the capacitance  replaced,  and  with  a
  1269. TEXT: H          saturation  current of GISPERL Hamps per meter of transmission
  1270. TEXT: H          line and an optional series resistance equivalent to  GRSPERL
  1271. TEXT: H          Hohms per meter.
  1272. TEXT: H
  1273. TEXT:                name     parameter                            units   default   example   area
  1274. TEXT: H
  1275. TEXT: H           1   GK        HPropagation Constant                 -       2.0       1.2       -
  1276. TEXT: H           2   GFMAX     HMaximum Frequency of interest        Hz      1.0G      6.5MEG    -
  1277. TEXT: H           3   GRPERL    HResistance per unit length           Ohm/m   1000      10        -
  1278. TEXT: H           4   GCPERL    HCapacitance per unit length          F/m     1.0E-15   1PF       -
  1279. TEXT: H           5   GISPERL   HSaturation Current per unit length   Amp/m   0         -         -
  1280. TEXT: H           6   GRSPERL   HDiode Resistance per unit length     Ohm/m   0         -         -
  1281. TEXT: H
  1282. TEXT: 
  1283. SEEALSO: SPICE:u
  1284.  
  1285. SUBJECT: options
  1286. TITLE: Circuit Options
  1287. TEXT: 
  1288. TEXT:           The  following  options  are  recognised  by  SPICE3.    Not
  1289. TEXT: H          included are options recognised by the front-end and options
  1290. TEXT: H          supported for backward compatibility with SPICE2.
  1291. TEXT: H
  1292. TEXT: 
  1293. SUBTOPIC: SPICE:abstol SPICE:bypass SPICE:chgtol
  1294. SUBTOPIC: SPICE:defad SPICE:defas SPICE:defl
  1295. SUBTOPIC: SPICE:defw SPICE:gmin SPICE:itl1
  1296. SUBTOPIC: SPICE:itl2 SPICE:itl5 SPICE:pivrel
  1297. SUBTOPIC: SPICE:pivtol SPICE:reltol SPICE:tnom
  1298. SUBTOPIC: SPICE:trtol SPICE:vntol
  1299. SEEALSO: NUTMEG:set
  1300. SEEALSO: SPICE:option
  1301.  
  1302. SUBJECT: abstol
  1303. TITLE: abstol
  1304. TEXT: 
  1305. TEXT:           ABSTOL = x
  1306. TEXT: H               Resets the absolute current error tolerance of the pro-
  1307. TEXT: H               gram.  The default value is 1 picoamp.
  1308. TEXT: H
  1309. TEXT: 
  1310.  
  1311. SUBJECT: bypass
  1312. TITLE: bypass
  1313. TEXT: 
  1314. TEXT:           BYPASS
  1315. TEXT: H               The bypass option...
  1316. TEXT: H
  1317. TEXT: 
  1318.  
  1319. SUBJECT: chgtol
  1320. TITLE: chgtol
  1321. TEXT: 
  1322. TEXT:           CHGTOL = x
  1323. TEXT: H               Resets  the  charge  tolerance  of  the  program.   The
  1324. TEXT: H               default value is 1.0E-14.
  1325. TEXT: H
  1326. TEXT: 
  1327.  
  1328. SUBJECT: defad
  1329. TITLE: defad
  1330. TEXT: 
  1331. TEXT:           DEFAD = x
  1332. TEXT: H               Resets the value for  MOS  drain  diffusion  area;  the
  1333. TEXT: H               default is 0.0.
  1334. TEXT: H
  1335. TEXT: 
  1336. SEEALSO: SPICE:m
  1337.  
  1338. SUBJECT: defas
  1339. TITLE: defas
  1340. TEXT: 
  1341. TEXT:           DEFAS = x
  1342. TEXT: H               Resets the value for MOS  source  diffusion  area;  the
  1343. TEXT: H               default is 0.0.
  1344. TEXT: H
  1345. TEXT: 
  1346. SEEALSO: SPICE:m
  1347.  
  1348. SUBJECT: defl
  1349. TITLE: defl
  1350. TEXT: 
  1351. TEXT:           DEFL = x
  1352. TEXT: H               Resets the value for MOS channel length; the default is
  1353. TEXT: H               100.0 micrometer.
  1354. TEXT: H
  1355. TEXT: 
  1356. SEEALSO: SPICE:m
  1357.  
  1358. SUBJECT: defw
  1359. TITLE: defw
  1360. TEXT: 
  1361. TEXT:           DEFW = x
  1362. TEXT: H               Resets the value for MOS channel width; the default  is
  1363. TEXT: H               100.0 micrometer.
  1364. TEXT: H
  1365. TEXT: 
  1366. SEEALSO: SPICE:m
  1367.  
  1368. SUBJECT: gmin
  1369. TITLE: gmin
  1370. TEXT: 
  1371. TEXT:           GMIN = x
  1372. TEXT: H               Resets the  value  of  GMIN,  the  minimum  conductance
  1373. TEXT: H               allowed by the program.  The default value is 1.0E-12.
  1374. TEXT: H
  1375. TEXT: 
  1376.  
  1377. SUBJECT: itl1
  1378. TITLE: itl1
  1379. TEXT: 
  1380. TEXT:           ITL1 = x
  1381. TEXT:                Resets the dc iteration limit.  The default is 100.
  1382. TEXT: 
  1383. SEEALSO: SPICE:dcanalysis
  1384.  
  1385. SUBJECT: itl2
  1386. TITLE: itl2
  1387. TEXT: 
  1388. TEXT:           ITL2 = x
  1389. TEXT:                Resets the dc  transfer  curve  iteration  limit.   The
  1390. TEXT:                default is 50.
  1391. TEXT: 
  1392. SEEALSO: SPICE:dcanalysis
  1393.  
  1394. SUBJECT: itl5
  1395. TITLE: itl5
  1396. TEXT: 
  1397. TEXT:           ITL5 = x
  1398. TEXT: H               Resets the transient analysis  total  iteration  limit.
  1399. TEXT: H               The default is 5000.  Set ITL5=0 to omit this test.
  1400. TEXT: H
  1401. TEXT: 
  1402. SEEALSO: SPICE:trananalysis
  1403.  
  1404. SUBJECT: pivrel
  1405. TITLE: pivrel
  1406. TEXT: 
  1407. TEXT:           PIVREL = x
  1408. TEXT: H               Resets the relative ratio between  the  largest  column
  1409. TEXT: H               entry  and an acceptable pivot value. The default value
  1410. TEXT: H               is 1.0E-3.  In the  numerical  pivoting  algorithm  the
  1411. TEXT: H               allowed   minimum   pivot   value   is   determined  by
  1412. TEXT: H               EPSREL=AMAX1(PIVREL*MAXVAL,PIVTOL) where MAXVAL is  the
  1413. TEXT: H               maximum  element  in the column where a pivot is sought
  1414. TEXT: H               (partial pivoting).
  1415. TEXT: H
  1416. TEXT: 
  1417.  
  1418. SUBJECT: pivtol
  1419. TITLE: pivtol
  1420. TEXT: 
  1421. TEXT:           PIVTOL = x
  1422. TEXT: H               Resets the absolute minimum value for a matrix entry to
  1423. TEXT: H               be accepted as a pivot.  The default value is 1.0E-13.
  1424. TEXT: H
  1425. TEXT: 
  1426.  
  1427. SUBJECT: reltol
  1428. TITLE: reltol
  1429. TEXT: 
  1430. TEXT:           RELTOL = x
  1431. TEXT: H               Resets the relative error  tolerance  of  the  program.
  1432. TEXT: H               The default value is 0.001 (0.1 percent).
  1433. TEXT: H
  1434. TEXT: 
  1435.  
  1436. SUBJECT: tnom
  1437. TITLE: tnom
  1438. TEXT: 
  1439. TEXT:           TNOM = x
  1440. TEXT: H               Resets the nominal temperature.  The default  value  is
  1441. TEXT: H               27 deg C (300 deg K).
  1442. TEXT: H
  1443. TEXT: 
  1444.  
  1445. SUBJECT: trtol
  1446. TITLE: trtol
  1447. TEXT: 
  1448. TEXT:           TRTOL = x
  1449. TEXT: H               Resets the  transient  error  tolerance.   The  default
  1450. TEXT: H               value  is  7.0.   This  parameter is an estimate of the
  1451. TEXT: H               factor by which SPICE overestimates the actual  trunca-
  1452. TEXT: H               tion error.
  1453. TEXT: H
  1454. TEXT: 
  1455.  
  1456. SUBJECT: vntol
  1457. TITLE: vntol
  1458. TEXT: 
  1459. TEXT:           VNTOL = x
  1460. TEXT: H               Resets the absolute voltage error tolerance of the pro-
  1461. TEXT: H               gram.  The default value is 1 microvolt.
  1462. TEXT: H
  1463. TEXT: 
  1464.  
  1465. SUBJECT: convergence
  1466. TITLE: Convergence
  1467. TEXT: 
  1468. TEXT:                Both dc and transient  solutions  are  obtained  by  an
  1469. TEXT: H          iterative  process which is terminated when both of the fol-
  1470. TEXT: H          lowing conditions hold:
  1471. TEXT: H
  1472. TEXT:           1)   The nonlinear branch  currents  converge  to  within  a
  1473. TEXT: H               tolerance  of  0.1  percent or 1 picoamp (1.0E-12 Amp),
  1474. TEXT: H               whichever is larger.
  1475. TEXT: H
  1476. TEXT:           2)   The node voltages converge to within a tolerance of 0.1
  1477. TEXT: H               percent  or  1  microvolt  (1.0E-6  Volt), whichever is
  1478. TEXT: H               larger.
  1479. TEXT: H
  1480. TEXT:                Although the algorithm used in SPICE has been found  to
  1481. TEXT: H          be  very reliable, in some cases it will fail to converge to
  1482. TEXT: H          a solution.  When this failure occurs, the program will ter-
  1483. TEXT: H          minate the job.
  1484. TEXT: H
  1485. TEXT:                Failure to converge in dc analysis is usually due to an
  1486. TEXT: H          error  in specifying circuit connections, element values, or
  1487. TEXT: H          model parameter values.  Regenerative switching circuits  or
  1488. TEXT: H          circuits  with  positive feedback probably will not converge
  1489. TEXT: H          in the dc analysis unless the GOFF Hoption is used for some of
  1490. TEXT: H          the  devices  in  the feedback path, or the G.NODESET Hline is
  1491. TEXT: H          used to force the circuit to converge to the desired state.
  1492. TEXT: H
  1493. TEXT: 
  1494.  
  1495.  
  1496. SUBJECT: elements
  1497. TITLE: Circuit Elements
  1498. TEXT: 
  1499. TEXT:                The following circuit elements are available in SPICE.
  1500. TEXT: H
  1501. TEXT: 
  1502. SUBTOPIC: SPICE:cl SPICE:depsource SPICE:iv
  1503. SUBTOPIC: SPICE:k SPICE:r SPICE:semicond
  1504. SUBTOPIC: SPICE:sw SPICE:t
  1505.  
  1506. SUBJECT: cl
  1507. TITLE: Capacitors and Inductors
  1508. TEXT: 
  1509. TEXT:           GGeneral form:
  1510. TEXT: H
  1511. TEXT:               CH_X_X_X_X_X_X_X _N+ _N- _V_A_L_U_E <GICH=_I_N_C_O_N_D>
  1512. TEXT: H              LYYYYYYY N+ N- VALUE <GICH=_I_N_C_O_N_D>
  1513. TEXT: H
  1514. TEXT:           GExamples:
  1515. TEXT: H
  1516. TEXT:               CHBYP 13 0 1UF
  1517. TEXT: H              GCHOSC 17 23 10U IC=3V
  1518. TEXT: H              GLHLINK 42 69 1UH
  1519. TEXT: H              GLHSHUNT 23 51 10U IC=15.7MA
  1520. TEXT: H
  1521. TEXT: 
  1522. TEXT:                _N+ and _N- are the positive and negative element  nodes,
  1523. TEXT: H          respectively.   _V_A_L_U_E  is  the  capacitance in Farads or the
  1524. TEXT: H          inductance in Henries.
  1525. TEXT: H
  1526. TEXT:                For the capacitor, the (optional) initial condition  is
  1527. TEXT: H          the  initial  (time-zero)  value  of  capacitor  voltage (in
  1528. TEXT: H          Volts).  For the inductor, the (optional) initial  condition
  1529. TEXT: H          is  the  initial  (time-zero)  value of inductor current (in
  1530. TEXT: H          Amps) that flows from _N+, through the inductor, to _N-.  Note
  1531. TEXT: H          that  the  initial conditions (if any) apply only if the GUIC
  1532. TEXT: H          Hoption is specified on the G.TRAN Hline.
  1533. TEXT: H
  1534. TEXT: 
  1535. SEEALSO: SPICE:c
  1536.  
  1537. SUBJECT: depsource
  1538. TITLE: Linear Dependent Sources
  1539. TEXT: 
  1540. TEXT:                SPICE  allows  circuits  to  contain  linear  dependent
  1541. TEXT: H          sources characterized by any of the four equations
  1542. TEXT: H
  1543. TEXT:                  i = _g * v   v = _e * v   i = _f * i   v = _h * i
  1544. TEXT: H
  1545. TEXT:           where  _g,  _e,  _f,   and   _h   are   constants   representing
  1546. TEXT: H          transconductance,voltage gain, current gain, and transresis-
  1547. TEXT: H          tance, respectively.
  1548. TEXT: H
  1549. TEXT: 
  1550. SUBTOPIC: SPICE:VCVS SPICE:f SPICE:g
  1551. SUBTOPIC: SPICE:h
  1552.  
  1553. SUBJECT: VCVS
  1554. TITLE: Voltage-Controlled Voltage Sources
  1555. TEXT: 
  1556. TEXT:           GGeneral form:
  1557. TEXT: H
  1558. TEXT:               EH_X_X_X_X_X_X_X _N+ _N- _N_C+ _N_C- _V_A_L_U_E
  1559. TEXT: H
  1560. TEXT:           GExamples:
  1561. TEXT: H
  1562. TEXT:               EH1 2 3 14 1 2.0
  1563. TEXT: H
  1564. TEXT: 
  1565. TEXT:                _N+ is the positive node, and _N- is the  negative  node.
  1566. TEXT: H          _N_C+ and _N_C- are the positive and negative controlling nodes,
  1567. TEXT: H          respectively.  _V_A_L_U_E is the voltage gain.
  1568. TEXT: H
  1569. TEXT: 
  1570.  
  1571. SUBJECT: f
  1572. TITLE: Current-Controlled Current Sources
  1573. TEXT: 
  1574. TEXT:           GGeneral form:
  1575. TEXT: H
  1576. TEXT:               FH_X_X_X_X_X_X_X _N+ _N- _V_N_A_M _V_A_L_U_E
  1577. TEXT: H
  1578. TEXT:           GExamples:
  1579. TEXT: H
  1580. TEXT:               FH1 13 5 VSENS 5
  1581. TEXT: H
  1582. TEXT: 
  1583. TEXT:                _N+ and _N- are the positive and negative nodes,  respec-
  1584. TEXT: H          tively.  Current flow is from the positive node, through the
  1585. TEXT: H          source, to the negative node.  _V_N_A_M is the name of a voltage
  1586. TEXT: H          source  through  which  the  controlling current flows.  The
  1587. TEXT: H          direction of positive controlling current flow is  from  the
  1588. TEXT: H          positive  node,  through the source, to the negative node of
  1589. TEXT: H          _V_N_A_M.  _V_A_L_U_E is the current gain.
  1590. TEXT: H
  1591. TEXT: 
  1592.  
  1593. SUBJECT: g
  1594. TITLE: Voltage Controlled Current Sources
  1595. TEXT: 
  1596. TEXT:           GGeneral form:
  1597. TEXT: H
  1598. TEXT:               GH_X_X_X_X_X_X_X _N+ _N- _N_C+ _N_C- _V_A_L_U_E
  1599. TEXT: H
  1600. TEXT:           GExamples:
  1601. TEXT: H
  1602. TEXT:               GH1 2 0 5 0 0.1MMHO
  1603. TEXT: H
  1604. TEXT: 
  1605. TEXT:                _N+ and _N- are the positive and negative nodes,  respec-
  1606. TEXT: H          tively.  Current flow is from the positive node, through the
  1607. TEXT: H          source, to the negative node.  _N_C+ and _N_C- are the  positive
  1608. TEXT: H          and  negative controlling nodes, respectively.  _V_A_L_U_E is the
  1609. TEXT: H          transconductance (in mhos).
  1610. TEXT: H
  1611. TEXT: 
  1612.  
  1613. SUBJECT: h
  1614. TITLE: Current-Controlled Voltage Sources
  1615. TEXT: 
  1616. TEXT:           GGeneral form:
  1617. TEXT: H
  1618. TEXT:               HH_X_X_X_X_X_X_X _N+ _N- _V_N_A_M _V_A_L_U_E
  1619. TEXT: H
  1620. TEXT:           GExamples:
  1621. TEXT: H
  1622. TEXT:               HHX 5 17 VZ 0.5K
  1623. TEXT: H
  1624. TEXT: 
  1625. TEXT:                _N+ and _N- are the positive and negative nodes,  respec-
  1626. TEXT: H          tively.   _V_N_A_M is the name of a voltage source through which
  1627. TEXT: H          the controlling current flows.  The  direction  of  positive
  1628. TEXT: H          controlling  current flow is from the positive node, through
  1629. TEXT: H          the source, to the negative node  of  _V_N_A_M.   _V_A_L_U_E  is  the
  1630. TEXT: H          transresistance (in ohms).
  1631. TEXT: H
  1632. TEXT: 
  1633.  
  1634. SUBJECT: iv
  1635. TITLE: Independent Sources
  1636. TEXT: 
  1637. TEXT:           GGeneral form:
  1638. TEXT: H
  1639. TEXT:               VH_X_X_X_X_X_X_X _N+ _N- <<_D_C> _D_C/_T_R_A_N _V_A_L_U_E> <_A_C <_A_C_M_A_G <_A_C_P_H_A_S_E>>>
  1640. TEXT: H              GIH_Y_Y_Y_Y_Y_Y_Y _N+ _N- <<_D_C> _D_C/_T_R_A_N _V_A_L_U_E> <_A_C <_A_C_M_A_G <_A_C_P_H_A_S_E>>>
  1641. TEXT: H
  1642. TEXT:           GExamples:
  1643. TEXT: H
  1644. TEXT:               VHCC 10 0 GDC H6
  1645. TEXT: H              GVHIN 13 2 0.001 GAC H1 GSINH(0 1 1MEG)
  1646. TEXT: H              GIHSRC 23 21 GAC H0.333 45.0 GSFFMH(0 1 10K 5 1K)
  1647. TEXT: H              GVHMEAS 12 9
  1648. TEXT: H
  1649. TEXT: 
  1650. TEXT:                _N+ and _N- are the positive and negative nodes,  respec-
  1651. TEXT: H          tively.   Note  that  voltage  sources need not be grounded.
  1652. TEXT: H          Positive current is assumed to flow from the positive  node,
  1653. TEXT: H          through  the source, to the negative node.  A current source
  1654. TEXT: H          of positive value, will force current to flow out of the  _N+
  1655. TEXT: H          node,  through  the  source,  and into the _N- node.  Voltage
  1656. TEXT: H          sources, in addition to being used for  circuit  excitation,
  1657. TEXT: H          are  the  'ammeters' for SPICE, that is, zero valued voltage
  1658. TEXT: H          sources may be inserted into the circuit for the purpose  of
  1659. TEXT: H          measuring  current.  They will, of course, have no effect on
  1660. TEXT: H          circuit operation since they represent short-circuits.
  1661. TEXT: H
  1662. TEXT:                _D_C/_T_R_A_N is the dc and transient analysis value  of  the
  1663. TEXT: H          source.   If  the source value is zero both for dc and tran-
  1664. TEXT: H          sient analyses, this value may be omitted.   If  the  source
  1665. TEXT: H          value  is  time-invariant  (e.g.,  a  power supply), then he
  1666. TEXT: H          value may optionally be preceded by the letters DC.
  1667. TEXT: H
  1668. TEXT:                _A_C_M_A_G is the ac magnitude and _A_C_P_H_A_S_E is the ac  phase.
  1669. TEXT: H          The  source  is  set  to  this value in the ac analysis.  If
  1670. TEXT: H          _A_C_M_A_G is omitted following the keyword GACH, a value of  unity
  1671. TEXT: H          is  assumed.   If  _A_C_P_H_A_S_E  is  omitted,  a value of zero is
  1672. TEXT: H          assumed.  If the source is not an ac small-signal input, the
  1673. TEXT: H          keyword GAC Hand the ac values are omitted.
  1674. TEXT: H
  1675. TEXT:                Any independent source can be assigned a time-dependent
  1676. TEXT: H          value  for  transient  analysis.   If a source is assigned a
  1677. TEXT: H          time-dependent value, the time-zero value  is  used  for  dc
  1678. TEXT: H          analysis.   There  are  five  independent  source functions:
  1679. TEXT: H          pulse,  exponential,  sinusoidal,  piece-wise  linear,   and
  1680. TEXT: H          single-frequency FM.  If parameters other than source values
  1681. TEXT: H          are omitted or set to zero, the default values shown will be
  1682. TEXT: H          assumed.   (_T_S_T_E_P is the printing increment and _T_S_T_O_P is the
  1683. TEXT: H          final time (see the G.TRAN Hline for explanation)).
  1684. TEXT: H
  1685. TEXT: 
  1686. SUBTOPIC: SPICE:Exponential SPICE:fm SPICE:pulse
  1687. SUBTOPIC: SPICE:pwl SPICE:sin
  1688.  
  1689. SUBJECT: Exponential
  1690. TITLE: Exponential
  1691. TEXT: 
  1692. TEXT:                GEXPH(_V_1 _V_2 _T_D_1 _T_A_U_1 _T_D_2 _T_A_U_2)
  1693. TEXT: H
  1694. TEXT:           GExamples:
  1695. TEXT: H
  1696. TEXT:               VHIN 3 0 GEXPH(-4 -1 2NS 30NS 60NS 40NS)
  1697. TEXT: H
  1698. TEXT: 
  1699. TEXT:           Gparameters      default values  units
  1700. TEXT: H
  1701. TEXT: H          V1   (initial value)                                HVolts or Amps
  1702. TEXT: H          GV2   (pulsed value)                                 HVolts or Amps
  1703. TEXT: H          GTD1  (rise delay time)                  H0.0         seconds
  1704. TEXT: H          GTAU1 (rise time constant)               HTSTEP       seconds
  1705. TEXT: H          GTD2  (fall delay time)                  HTD1+TSTEP   seconds
  1706. TEXT: H          GTAU2 (fall time constant)               HTSTEP       seconds
  1707. TEXT: H
  1708. TEXT: 
  1709. TEXT:                The shape of the waveform is described by the following
  1710. TEXT: H          table:
  1711. TEXT: H
  1712. TEXT:               time    value
  1713. TEXT: H
  1714. TEXT: H              0 to TD1        V1
  1715. TEXT: H              TD1 to TD2      V1+(V2-V1)*(1-exp(-(time-TD1)/TAU1))
  1716. TEXT: H              TD2 to TSTOP    V1+(V2-V1)*(1-exp(-(time-TD1)/TAU1))
  1717. TEXT: H                              +(V1-V2)*(1-exp(-(time-TD2)/TAU2))
  1718. TEXT: H
  1719. TEXT: 
  1720.  
  1721. SUBJECT: fm
  1722. TITLE: Single-Frequency FM
  1723. TEXT: 
  1724. TEXT:                GSFFMH(_V_O _V_A _F_C _M_D_I _F_S)
  1725. TEXT: H
  1726. TEXT:           GExamples:
  1727. TEXT: H
  1728. TEXT:               VH1 12 0 GSFFMH(0 1M 20K 5 1K)
  1729. TEXT: H
  1730. TEXT: 
  1731. TEXT:           Gparameters      default values  units
  1732. TEXT: H
  1733. TEXT: H          VO  (offset)                                      HVolts or Amps
  1734. TEXT: H          GVA  (amplitude)                                   HVolts or Amps
  1735. TEXT: H          GFC  (carrier frequency)                 H1/TSTOP   Hz
  1736. TEXT: H          GMDI (modulation index)
  1737. TEXT: H          FS  (signal frequency)                  H1/TSTOP   Hz
  1738. TEXT: H
  1739. TEXT: 
  1740. TEXT:                The shape of the waveform is described by the following
  1741. TEXT: H          equation:
  1742. TEXT: H
  1743. TEXT:               value = VO + VA*sine((twopi*FC*time) + MDI*sine(twopi*FS*time))
  1744. TEXT: H
  1745. TEXT: 
  1746.  
  1747. SUBJECT: pulse
  1748. TITLE: Pulse
  1749. TEXT: 
  1750. TEXT:                GPULSEH(_V_1 _V_2 _T_D _T_R _T_F _P_W _P_E_R)
  1751. TEXT: H
  1752. TEXT:           GExamples:
  1753. TEXT: H
  1754. TEXT:               VHIN 3 0 GPULSEH(-1 1 2NS 2NS 2NS 50NS 100NS)
  1755. TEXT: H
  1756. TEXT: 
  1757. TEXT:               Gparameters           Hdefault values   units
  1758. TEXT: H
  1759. TEXT: H              GV1 (initial value)                    HVolts or Amps
  1760. TEXT: H              GV2 (pulsed value)                     HVolts or Amps
  1761. TEXT: H              GTD (delay time)      H0.0              seconds
  1762. TEXT: H              GTR (rise time)       HTSTEP            seconds
  1763. TEXT: H              GTF (fall time)       HTSTEP            seconds
  1764. TEXT: H              GPW (pulse width)     HTSTOP            seconds
  1765. TEXT: H              GPER(period)          HTSTOP            seconds
  1766. TEXT: H
  1767. TEXT: 
  1768. TEXT:                A single pulse so specified is described by the follow-
  1769. TEXT: H          ing table:
  1770. TEXT: H
  1771. TEXT:                                time    value
  1772. TEXT: H
  1773. TEXT: H                               0               V1
  1774. TEXT: H                               TD              V1
  1775. TEXT: H                               TD+TR           V2
  1776. TEXT: H                               TD+TR+PW        V2
  1777. TEXT: H                               TD+TR+PW+TF     V1
  1778. TEXT: H                               TSTOP           V1
  1779. TEXT: H
  1780. TEXT: 
  1781. TEXT:           Intermediate points are determined by linear interpolation.
  1782. TEXT: H
  1783. TEXT: 
  1784.  
  1785. SUBJECT: pwl
  1786. TITLE: Piece-Wise Linear
  1787. TEXT: 
  1788. TEXT:                GPWLH(_T_1 _V_1 <_T_2 _V_2 _T_3 _V_3 _T_4 _V_4 ...>)
  1789. TEXT: H
  1790. TEXT:           GExamples:
  1791. TEXT: H
  1792. TEXT:               VHCLOCK 7 5 GPWLH(0 -7 10NS -7 11NS -3 17NS -3 18NS -7 50NS -7)
  1793. TEXT: H
  1794. TEXT: 
  1795. TEXT:                Each pair of values (_T_i, _V_i) specifies that  the  value
  1796. TEXT: H          of  the  source  is _V_i (in Volts or Amps) at time = _T_i.  The
  1797. TEXT: H          value of the source at intermediate values of time is deter-
  1798. TEXT: H          mined by using linear interpolation on the input values.
  1799. TEXT: H
  1800. TEXT: 
  1801.  
  1802. SUBJECT: sin
  1803. TITLE: Sinusoidal
  1804. TEXT: 
  1805. TEXT:                GSINH(_V_O _V_A _F_R_E_Q _T_D _T_H_E_T_A)
  1806. TEXT: H
  1807. TEXT:           GExamples:
  1808. TEXT: H
  1809. TEXT:               VHIN 3 0 GSINH(0 1 100MEG 1NS 1E10)
  1810. TEXT: H
  1811. TEXT: 
  1812. TEXT:               Gparameters      default value   units
  1813. TEXT: H
  1814. TEXT: H              VO     (offset)                 Volts or Amps
  1815. TEXT: H              VA     (amplitude)              Volts or Amps
  1816. TEXT: H              FREQ   (frequency)      1/TSTOP Hz
  1817. TEXT: H              TD     (delay)  0.0     seconds
  1818. TEXT: H              THETA  (damping factor) 0.0     1/seconds
  1819. TEXT: H
  1820. TEXT: 
  1821. TEXT:                HThe shape of the waveform is described by the following
  1822. TEXT: H          table:
  1823. TEXT: H
  1824. TEXT:           time    value
  1825. TEXT: H
  1826. TEXT: H          0 to TD VO
  1827. TEXT: H          TD to TSTOP     VO + VA*exp(-(time-TD)*THETA)*
  1828. TEXT: H                                                           sine(twopi*FREQ*(time+TD))
  1829. TEXT: H
  1830. TEXT: 
  1831.  
  1832. SUBJECT: k
  1833. TITLE: Coupled (Mutual) Inductors
  1834. TEXT: 
  1835. TEXT:           GGeneral form:
  1836. TEXT: H
  1837. TEXT:               KHXXXXXXX GLH_Y_Y_Y_Y_Y_Y_Y GLH_Z_Z_Z_Z_Z_Z_Z _V_A_L_U_E
  1838. TEXT: H
  1839. TEXT:           GExamples:
  1840. TEXT: H
  1841. TEXT:               KH43 GLHAA GLHBB 0.999
  1842. TEXT: H              GKHXFRMR GLH1 GLH2 0.87
  1843. TEXT: H
  1844. TEXT: 
  1845. TEXT:                GLH_Y_Y_Y_Y_Y_Y_Y _a_n_d GLH_Z_Z_Z_Z_Z_Z_Z _a_r_e _t_h_e _n_a_m_e_s _o_f _t_h_e _t_w_o  _c_o_u_p_l_e_d
  1846. TEXT: H          _i_n_d_u_c_t_o_r_s,  _a_n_d  _V_A_L_U_E  is  the  coefficient of coupling, K,
  1847. TEXT: H          which must be greater than 0 and less than or  equal  to  1.
  1848. TEXT: H          Using  the 'dot' convention, place a 'dot' on the first node
  1849. TEXT: H          of each inductor.
  1850. TEXT: H
  1851. TEXT: 
  1852. SEEALSO: SPICE:cl
  1853.  
  1854. SUBJECT: semicond
  1855. TITLE: Semiconductor Devices
  1856. TEXT: 
  1857. TEXT:                The elements described to this point typically  require
  1858. TEXT: H          only  a  few  parameter values.  However, the models for the
  1859. TEXT: H          semiconductor devices that are included in the SPICE program
  1860. TEXT: H          require  many  parameter  values.   Often, many devices in a
  1861. TEXT: H          circuit are defined by the same set of device model  parame-
  1862. TEXT: H          ters.   For  these reasons, a set of device model parameters
  1863. TEXT: H          is defined on a separate G.MODEL Hline and assigned  a  unique
  1864. TEXT: H          model name.  The device element lines in SPICE then refer to
  1865. TEXT: H          the model name.  This scheme alleviates the need to  specify
  1866. TEXT: H          all of the model parameters on each device element line.
  1867. TEXT: H
  1868. TEXT:                Each device element line contains the device name,  the
  1869. TEXT: H          nodes to which the device is connected, and the device model
  1870. TEXT: H          name.  In addition, other optional parameters may be  speci-
  1871. TEXT: H          fied  for  some  devices:   geometric factors and an initial
  1872. TEXT: H          condition.
  1873. TEXT: H
  1874. TEXT:                The area factor used on the diode, BJT, JFET, and  MES-
  1875. TEXT: H          FET  device lines determines the number of equivalent paral-
  1876. TEXT: H          lel devices of a specified model.  The  affected  parameters
  1877. TEXT: H          are  marked with an asterisk under the heading 'area' in the
  1878. TEXT: H          model descriptions below.  Several geometric factors associ-
  1879. TEXT: H          ated  with  the  channel and the drain and source diffusions
  1880. TEXT: H          can be specified on the MOSFET device line.
  1881. TEXT: H
  1882. TEXT:                Two different forms of initial conditions may be speci-
  1883. TEXT: H          fied  for  some  devices.   The  first  form  is included to
  1884. TEXT: H          improve the dc convergence for circuits  that  contain  more
  1885. TEXT: H          than one stable state.  If a device is specified GOFFH, the dc
  1886. TEXT: H          operating point is determined with the terminal voltages for
  1887. TEXT: H          that device set to zero.  After convergence is obtained, the
  1888. TEXT: H          program continues to iterate to obtain the exact  value  for
  1889. TEXT: H          the  terminal  voltages.   If a circuit has more than one dc
  1890. TEXT: H          stable state, the GOFF Hoption can be used to force the  solu-
  1891. TEXT: H          tion  to  correspond  to  a  desired  state.  If a device is
  1892. TEXT: H          specified GOFF Hwhen in reality the device is conducting,  the
  1893. TEXT: H          program will still obtain the correct solution (assuming the
  1894. TEXT: H          solutions converge) but more  iterations  will  be  required
  1895. TEXT: H          since   the  program  must  independently  converge  to  two
  1896. TEXT: H          separate solutions.  The G.NODESET Hline serves a similar pur-
  1897. TEXT: H          pose  as  the  OFF option.  The G.NODESET Hoption is easier to
  1898. TEXT: H          apply and is the preferred means to aid convergence.
  1899. TEXT: H
  1900. TEXT:                The second form of initial conditions are specified for
  1901. TEXT: H          use  with  the  transient analysis.  These are true 'initial
  1902. TEXT: H          conditions' as opposed to the convergence aids  above.   See
  1903. TEXT: H          the  description  of  the  G.IC Hline and the G.TRAN Hline for a
  1904. TEXT: H          detailed explanation of initial conditions.
  1905. TEXT: H
  1906. TEXT: 
  1907. SUBTOPIC: SPICE:Capacitors SPICE:juncd SPICE:j
  1908. SUBTOPIC: SPICE:m SPICE:q SPICE:r
  1909. SUBTOPIC: SPICE:u SPICE:z
  1910.  
  1911. SUBJECT: Capacitors
  1912. TITLE: Capacitors
  1913. TEXT: 
  1914. TEXT:           GGeneral form:
  1915. TEXT: H
  1916. TEXT:               CH_X_X_X_X_X_X_X _N_1 _N_2 <_V_A_L_U_E> <_M_N_A_M_E> <_L=_L_E_N_G_T_H> <_W=_W_I_D_T_H> <_I_C=_V_A_L>
  1917. TEXT: H
  1918. TEXT:           GExamples:
  1919. TEXT: H
  1920. TEXT:               CHLOAD 2 10 10P
  1921. TEXT: H              GCHMOD 3 7 CMODEL L=10u W=1u
  1922. TEXT: H
  1923. TEXT: 
  1924. TEXT:                This  is  the  more  general  form  of  the   capacitor
  1925. TEXT: H          presented  in section 6.2, and allows for the calculation of
  1926. TEXT: H          the actual capacitance value from strictly geometric  infor-
  1927. TEXT: H          mation  and  the specifications of the process.  If _V_A_L_U_E is
  1928. TEXT: H          specified, it defines the capacitance.  If _M_N_A_M_E  is  speci-
  1929. TEXT: H          fied,  then  the  capacitance is calculated from the process
  1930. TEXT: H          information in the model _M_N_A_M_E  and  the  given  _L_E_N_G_T_H  and
  1931. TEXT: H          _W_I_D_T_H.   If  _V_A_L_U_E  is  not specified, then _M_N_A_M_E and _L_E_N_G_T_H
  1932. TEXT: H          Gmust Hbe specified.  If _W_I_D_T_H is not specified, then it  will
  1933. TEXT: H          be  taken from the default width given in the model.  Either
  1934. TEXT: H          _V_A_L_U_E or _M_N_A_M_E, _L_E_N_G_T_H, and _W_I_D_T_H may be specified, but  not
  1935. TEXT: H          both sets.
  1936. TEXT: H
  1937. TEXT: 
  1938. SEEALSO: SPICE:cl
  1939.  
  1940. SUBJECT: juncd
  1941. TITLE: Junction Diodes
  1942. TEXT: 
  1943. TEXT:           GGeneral form:
  1944. TEXT: H
  1945. TEXT:               DH_X_X_X_X_X_X_X _N+ _N- _M_N_A_M_E <_A_R_E_A> <GOFFH> <IC=VD>
  1946. TEXT: H
  1947. TEXT:           GExamples:
  1948. TEXT: H
  1949. TEXT:               DHBRIDGE 2 10 DIODE1
  1950. TEXT: H              GDHCLMP 3 7 DMOD 3.0 IC=0.2
  1951. TEXT: H
  1952. TEXT: 
  1953. TEXT:                _N+ and _N- are the positive and negative nodes,  respec-
  1954. TEXT: H          tively.   _M_N_A_M_E  is the model name, _A_R_E_A is the area factor,
  1955. TEXT: H          and GOFF Hindicates an (optional) starting  condition  on  the
  1956. TEXT: H          device  for  dc  analysis.  If the area factor is omitted, a
  1957. TEXT: H          value of 1.0 is assumed.  The (optional)  initial  condition
  1958. TEXT: H          specification  using  GICH=_V_D is intended for use with the GUIC
  1959. TEXT: H          Hoption on the Gother than the quiescent operating point.
  1960. TEXT: H
  1961. TEXT: 
  1962. SEEALSO: SPICE:d
  1963.  
  1964. SUBJECT: j
  1965. TITLE: Junction Field-Effect Transistors
  1966. TEXT: 
  1967. TEXT:           GGeneral form:
  1968. TEXT: H
  1969. TEXT:               JH_X_X_X_X_X_X_X _N_D _N_G _N_S _M_N_A_M_E <_A_R_E_A> <GOFFH> <_I_C=_V_D_S,_V_G_S>
  1970. TEXT: H
  1971. TEXT:           GExamples:
  1972. TEXT: H
  1973. TEXT:               JH1 7 2 3 JM1 GOFF
  1974. TEXT: H
  1975. TEXT: 
  1976. TEXT:                H_N_D, _N_G, and _N_S are the drain, gate, and  source  nodes,
  1977. TEXT: H          respectively.   _M_N_A_M_E  is  the  model name, _A_R_E_A is the area
  1978. TEXT: H          factor, and GOFF Hindicates an (optional) initial condition on
  1979. TEXT: H          the  device for dc analysis.  If the area factor is omitted,
  1980. TEXT: H          a value of 1.0 is assumed.  The (optional) initial condition
  1981. TEXT: H          specificaion  using  GICH=_V_D_S,_V_G_S is intended for use with the
  1982. TEXT: H          GUIC Hoption on the G.TRAN Hline, when a transient  analysis  is
  1983. TEXT: H          desired  starting  from  other  than the quiescent operating
  1984. TEXT: H          point.  See the description of the G.IC Hline for a better way
  1985. TEXT: H          to set initial conditions.
  1986. TEXT: H
  1987. TEXT: 
  1988. SEEALSO: SPICE:jfet
  1989.  
  1990. SUBJECT: m
  1991. TITLE: MOSFET's
  1992. TEXT: 
  1993. TEXT:           GGeneral form:
  1994. TEXT: H
  1995. TEXT:               MH_X_X_X_X_X_X_X _N_D _N_G _N_S _N_B _M_N_A_M_E <_L=_V_A_L> <_W=_V_A_L> <_A_D=_V_A_L> <_A_S=_V_A_L>
  1996. TEXT: H              + <_P_D=_V_A_L> <_P_S=_V_A_L> <_N_R_D=_V_A_L> <_N_R_S=_V_A_L> <GOFFH> <_I_C=_V_D_S,_V_G_S,_V_B_S>
  1997. TEXT: H
  1998. TEXT:           GExamples:
  1999. TEXT: H
  2000. TEXT:               MH1 24 2 0 20 TYPE1
  2001. TEXT: H              GMH31 2 17 6 10 MODM L=5U W=2U
  2002. TEXT: H              GMH1 2 9 3 0 MOD1 L=10U W=5U AD=100P AS=100P PD=40U PS=40U
  2003. TEXT: H
  2004. TEXT: 
  2005. TEXT:                _N_D, _N_G, _N_S, and _N_B are the  drain,  gate,  source,  and
  2006. TEXT: H          bulk  (substrate)  nodes,  respectively.  _M_N_A_M_E is the model
  2007. TEXT: H          name.  _L and _W are the channel length and width, in  meters.
  2008. TEXT: H          _A_D  and _A_S are the areas of the drain and source diffusions,
  2009. TEXT: H          in sq-meters.  Note that the suffix  `U'  specifies  microns
  2010. TEXT: H          (1E-6  m) and P sq-microns (1E-12 sq-m). If any of _L, _W, _A_D,
  2011. TEXT: H          or _A_S are not specified, default values are used.   The  use
  2012. TEXT: H          of  defaults  simplifies  input file preparation, as well as
  2013. TEXT: H          the editing required if device geometries are to be changed.
  2014. TEXT: H          _P_D  and  _P_S are the perimeters of the drain and source junc-
  2015. TEXT: H          tions, in meters.  _N_R_D  and  _N_R_S  designate  the  equivalent
  2016. TEXT: H          number  of squares of the drain and source diffusions; these
  2017. TEXT: H          values multiply the sheet resistance _R_S_H  specified  on  the
  2018. TEXT: H          G.MODEL  Hline for an accurate representation of the parasitic
  2019. TEXT: H          series drain and source resistance of each  transistor.   _P_D
  2020. TEXT: H          and  _P_S  default to 0.0 while _N_R_D and _N_R_S to 1.0.  GOFF Hindi-
  2021. TEXT: H          cates an (optional) initial condition on the device  for  dc
  2022. TEXT: H          analysis.   The  (optional)  initial condition specification
  2023. TEXT: H          using GICH=_V_D_S,_V_G_S,_V_B_S is intended for use with the GUIC Hoption
  2024. TEXT: H          on  the  G.TRAN  Hline,  when  a transient analysis is desired
  2025. TEXT: H          starting from other than the quiescent operating point.  See
  2026. TEXT: H          the  description  of the G.IC Hline for a better and more con-
  2027. TEXT: H          venient way to specify transient initial conditions.
  2028. TEXT: H
  2029. TEXT: 
  2030. SEEALSO: SPICE:mosfet
  2031.  
  2032. SUBJECT: q
  2033. TITLE: Bipolar Junction Transistors
  2034. TEXT: 
  2035. TEXT:           GGeneral form:
  2036. TEXT: H
  2037. TEXT:               QH_X_X_X_X_X_X_X _N_C _N_B _N_E <_N_S> _M_N_A_M_E <_A_R_E_A> <GOFFH> <_I_C=_V_B_E,_V_C_E>
  2038. TEXT: H
  2039. TEXT:           GExamples:
  2040. TEXT: H
  2041. TEXT:               QH23 10 24 13 QMOD IC=0.6,5.0
  2042. TEXT: H              GQH50A 11 26 4 20 MOD1
  2043. TEXT: H
  2044. TEXT: 
  2045. TEXT:                _N_C, _N_B, and _N_E are the  collector,  base,  and  emitter
  2046. TEXT: H          nodes,  respectively.   _N_S is the (optional) substrate node.
  2047. TEXT: H          If unspecified, ground is used.  _M_N_A_M_E is  the  model  name,
  2048. TEXT: H          _A_R_E_A  is  the  area  factor, and GOFF Hindicates an (optional)
  2049. TEXT: H          initial condition on the device for the dc analysis.  If the
  2050. TEXT: H          area  factor  is  omitted,  a  value of 1.0 is assumed.  The
  2051. TEXT: H          (optional) initial condition specification using  GICH=_V_B_E,_V_C_E
  2052. TEXT: H          is  intended  for use with the GUIC Hoption on the G.TRAN Hline,
  2053. TEXT: H          when a transient analysis is  desired  starting  from  other
  2054. TEXT: H          than  the  quiescent  operating  point.   See  the  G.IC Hline
  2055. TEXT: H          description for a better way to set transient initial condi-
  2056. TEXT: H          tions.
  2057. TEXT: H
  2058. TEXT: 
  2059. SEEALSO: SPICE:bjt
  2060.  
  2061. SUBJECT: r
  2062. TITLE: Resistors
  2063. TEXT: 
  2064. TEXT:           GGeneral form:
  2065. TEXT: H
  2066. TEXT:               RH_X_X_X_X_X_X_X _N_1 _N_2 <_V_A_L_U_E> <_M_N_A_M_E> <_L=_L_E_N_G_T_H> <_W=_W_I_D_T_H>
  2067. TEXT: H
  2068. TEXT:           GExamples:
  2069. TEXT: H
  2070. TEXT:               RHLOAD 2 10 10K
  2071. TEXT: H              GRHMOD 3 7 RMODEL L=10u W=1u
  2072. TEXT: H
  2073. TEXT: 
  2074. TEXT:                This is the more general form of the resistor presented
  2075. TEXT: H          in  section  6.1,  and  allows  the  modeling of temperature
  2076. TEXT: H          effects and for the calculation  of  the  actual  resistance
  2077. TEXT: H          value from strictly geometric information and the specifica-
  2078. TEXT: H          tions of the process.  If _V_A_L_U_E is specified,  it  overrides
  2079. TEXT: H          the  geometric  information  and defines the resistance.  If
  2080. TEXT: H          _M_N_A_M_E is specified, then the resistance  may  be  calculated
  2081. TEXT: H          from  the  process  information  in  the model _M_N_A_M_E and the
  2082. TEXT: H          given _L_E_N_G_T_H and _W_I_D_T_H.  If _V_A_L_U_E  is  not  specified,  then
  2083. TEXT: H          _M_N_A_M_E  and _L_E_N_G_T_H Gmust Hbe specified.  If _W_I_D_T_H is not speci-
  2084. TEXT: H          fied, then it will be taken from the default width given  in
  2085. TEXT: H          the model.
  2086. TEXT: H
  2087. TEXT: 
  2088. SEEALSO: SPICE:rmodel
  2089.  
  2090. SUBJECT: u
  2091. TITLE: URC's (Lossy)
  2092. TEXT: 
  2093. TEXT:           GGeneral form:
  2094. TEXT: H
  2095. TEXT:               UH_X_X_X_X_X_X_X _N_1 _N_2 _N_3 _M_N_A_M_E _L=_L_E_N <_N=_L_U_M_P_S>
  2096. TEXT: H
  2097. TEXT:           GExamples:
  2098. TEXT: H
  2099. TEXT:               UH1 1 2 0 URCMOD L=50U
  2100. TEXT: H              GUHRC2 1 12 2 UMODL l=1MIL N=6
  2101. TEXT: H
  2102. TEXT: 
  2103. TEXT:                _N_1 and _N_2 are the two element nodes the  RC  line  con-
  2104. TEXT: H          nects,  while  _N_3  is the node to which the capacitances are
  2105. TEXT: H          connected.  _M_N_A_M_E is the model name, _L_E_N is  the  length  of
  2106. TEXT: H          the  RC  line in meters.  _L_U_M_P_S, if specified, is the number
  2107. TEXT: H          of lumped segments to use in modeling the RC line  (see  the
  2108. TEXT: H          model  description for the action taken if this parameter is
  2109. TEXT: H          omitted).
  2110. TEXT: H
  2111. TEXT: 
  2112. SEEALSO: SPICE:t
  2113.  
  2114. SUBJECT: z
  2115. TITLE: MESFET's
  2116. TEXT: 
  2117. TEXT:           GGeneral form:
  2118. TEXT: H
  2119. TEXT:               ZH_X_X_X_X_X_X_X _N_D _N_G _N_S _M_N_A_M_E <_A_R_E_A> <GOFFH> <_I_C=_V_D_S,_V_G_S>
  2120. TEXT: H
  2121. TEXT:           GExamples:
  2122. TEXT: H
  2123. TEXT:               ZH1 7 2 3 ZM1 GOFF
  2124. TEXT: H
  2125. TEXT: 
  2126. TEXT:                H_N_D, _N_G, and _N_S are the drain, gate, and  source  nodes,
  2127. TEXT: H          respectively.   _M_N_A_M_E  is  the  model name, _A_R_E_A is the area
  2128. TEXT: H          factor, and GOFF Hindicates an (optional) initial condition on
  2129. TEXT: H          the  device for dc analysis.  If the area factor is omitted,
  2130. TEXT: H          a value of 1.0 is assumed.  The (optional) initial condition
  2131. TEXT: H          specification, using GICH=_V_D_S,_V_G_S is intended for use with the
  2132. TEXT: H          GUIC Hoption on the G.TRAN Hline, when a transient  analysis  is
  2133. TEXT: H          desired  starting  from  other  than the quiescent operating
  2134. TEXT: H          point.  See the description of the G.IC Hline for a better way
  2135. TEXT: H          to set initial conditions.
  2136. TEXT: H
  2137. TEXT: 
  2138. SEEALSO: SPICE:mesfet
  2139.  
  2140. SUBJECT: sw
  2141. TITLE: Switches
  2142. TEXT: 
  2143. TEXT:           GGeneral form:
  2144. TEXT: H
  2145. TEXT:               SH_X_X_X_X_X_X_X _N+ _N- _N_C+ _N_C- _M_O_D_E_L G<ON><OFF>
  2146. TEXT: H              WH_Y_Y_Y_Y_Y_Y_Y _N+ _N- _V_N_A_M _M_O_D_E_L G<ON><OFF>
  2147. TEXT: H
  2148. TEXT:           Examples:
  2149. TEXT: H
  2150. TEXT:               SH1 1 2 3 4 SWITCH1 GON
  2151. TEXT: H              SH2 5 6 3 0 SM2 GOFF
  2152. TEXT: H              SHWITCH1 1 2 10 0 SMODEL1
  2153. TEXT: H              GWH1 1 2 VCLOCK SWITCHMOD1
  2154. TEXT: H              GWH2 3 0 VRAMP SM1 GON
  2155. TEXT: H              WHRESET 5 6 VCLCK LOSSYSWITCH GOFF
  2156. TEXT: H
  2157. TEXT: 
  2158. TEXT:                HNodes _N+ and _N- are the nodes between which the  switch
  2159. TEXT: H          terminals  are connected.  The model name is mandatory while
  2160. TEXT: H          the initial conditions are optional.  For the  voltage  con-
  2161. TEXT: H          trolled switch, nodes _N_C+ and _N_C- are the positive and nega-
  2162. TEXT: H          tive controlling nodes respectively.  For the  current  con-
  2163. TEXT: H          trolled  switch, the controlling current is that through the
  2164. TEXT: H          specified voltage source.  The direction  of  positive  con-
  2165. TEXT: H          trolling current flow is from the positive node, through the
  2166. TEXT: H          source, to the negative node.
  2167. TEXT: H
  2168. TEXT: 
  2169. SEEALSO: SPICE:swmodel
  2170.  
  2171. SUBJECT: t
  2172. TITLE: Transmission Lines (Lossless)
  2173. TEXT: 
  2174. TEXT:           GGeneral form:
  2175. TEXT: H
  2176. TEXT:               TH_X_X_X_X_X_X_X _N_1 _N_2 _N_3 _N_4 GZ0H=_V_A_L_U_E <GTDH=_V_A_L_U_E>
  2177. TEXT: H              +               <GF=H_F_R_E_Q <GNLH=_N_R_M_L_E_N>> <GICH=_V_1,_I_1,_V_2,_I_2>
  2178. TEXT: H
  2179. TEXT:           GExamples:
  2180. TEXT: H
  2181. TEXT:               TH1 1 0 2 0 Z0=50 GTDH=10NS
  2182. TEXT: H
  2183. TEXT: 
  2184. TEXT:                _N_1 and _N_2 are the nodes at port 1;  _N_3 and _N_4  are  the
  2185. TEXT: H          nodes  at  port 2.  _Z_0 is the characteristic impedance.  The
  2186. TEXT: H          length of the line may be expressed in either of two  forms.
  2187. TEXT: H          The  transmission  delay,  _T_D, may be specified directly (as
  2188. TEXT: H          GTDH=10ns, for example).  Alternatively, a frequency GF Hmay  be
  2189. TEXT: H          given, together with GNLH, the normalized electrical length of
  2190. TEXT: H          the transmission line with respect to the wavelength in  the
  2191. TEXT: H          line at the frequency GFH.  If a frequency is specified but GNL
  2192. TEXT: H          His omitted, 0.25 is  assumed  (that  is,  the  frequency  is
  2193. TEXT: H          assumed  to  be  the  quarter-wave  frequency).   Note  that
  2194. TEXT: H          although both forms for expressing the line length are indi-
  2195. TEXT: H          cated as optional, one of the two must be specified.
  2196. TEXT: H
  2197. TEXT:                Note that this  element  models  only  one  propagating
  2198. TEXT: H          mode.  If all four nodes are distinct in the actual circuit,
  2199. TEXT: H          then two modes may be excited.  To simulate  such  a  situa-
  2200. TEXT: H          tion, two transmission-line elements are required.  (see the
  2201. TEXT: H          example in Appendix A for further clarification.)
  2202. TEXT: H
  2203. TEXT:                The (optional) initial condition specification consists
  2204. TEXT: H          of  the voltage and current at each of the transmission line
  2205. TEXT: H          ports.  Note that the initial conditions (if any) apply only
  2206. TEXT: H          if the GUIC Hoption is specified on the G.TRAN Hline.
  2207. TEXT: H
  2208. TEXT: 
  2209.  
  2210. SUBJECT: examples
  2211. TITLE: Circuit Examples
  2212. TEXT: 
  2213. TEXT:                The following circuits are examples.
  2214. TEXT: H
  2215. TEXT: 
  2216. SUBTOPIC: SPICE:ex1 SPICE:ex2 SPICE:ex3
  2217. SUBTOPIC: SPICE:ex4 SPICE:ex5
  2218.  
  2219. SUBJECT: ex1
  2220. TITLE: Example 1
  2221. TEXT: 
  2222. TEXT:                The following circuit determines the dc operating point
  2223. TEXT: H          of  a  simple differential pair.  In addition, the ac small-
  2224. TEXT: H          signal response is computed over the frequency range 1Hz  to
  2225. TEXT: H          100MEGHz.
  2226. TEXT: H
  2227. TEXT:                SIMPLE DIFFERENTIAL PAIR
  2228. TEXT: H               GVHCC 7 0 12
  2229. TEXT: H               GVHEE 8 0 -12
  2230. TEXT: H               GVHIN 1 0 AC 1
  2231. TEXT: H               GRHS1 1 2 1K
  2232. TEXT: H               GRHS2 6 0 1K
  2233. TEXT: H               GQH1 3 2 4 MOD1
  2234. TEXT: H               GQH2 5 6 4 MOD1
  2235. TEXT: H               GRHC1 7 3 10K
  2236. TEXT: H               GRHC2 7 5 10K
  2237. TEXT: H               GRHE 4 8 10K
  2238. TEXT: H               G.MODEL HMOD1 NPN BF=50 VAF=50 IS=1.E-12 RB=100 CJC=.5PF TF=.6NS
  2239. TEXT: H               G.AC DEC H10 1 100MEG
  2240. TEXT: H               G.END
  2241. TEXT: H
  2242. TEXT: 
  2243.  
  2244. SUBJECT: ex2
  2245. TITLE: Example 2
  2246. TEXT: 
  2247. TEXT:                The following file computes the output  characteristics
  2248. TEXT: H          of a MOSFET device over the range 0-10V for VDS and 0-5V for
  2249. TEXT: H          VGS.
  2250. TEXT: H
  2251. TEXT:                MOS OUTPUT CHARACTERISTICS
  2252. TEXT: H               GVHDS 3 0
  2253. TEXT: H               GVHGS 2 0
  2254. TEXT: H               GMH1 1 2 0 0 MOD1 L=4U W=6U AD=10P AS=10P
  2255. TEXT: H               G.MODEL HMOD1 NMOS VTO=-2 NSUB=1.0E15 UO=550
  2256. TEXT: H               * VIDS MEASURES ID, WE COULD HAVE USED VDS, BUT ID WOULD BE NEGATIVE
  2257. TEXT: H               GVHIDS 3 1
  2258. TEXT: H               G.DC HVDS 0 10 .5 VGS 0 5 1
  2259. TEXT: H               G.END
  2260. TEXT: H
  2261. TEXT: 
  2262.  
  2263. SUBJECT: ex3
  2264. TITLE: Example 3
  2265. TEXT: 
  2266. TEXT:                The following file determines the dc transfer curve and
  2267. TEXT: H          the  transient pulse response of a simple RTL inverter.  The
  2268. TEXT: H          input is a pulse from 0 to 5 Volts  with  delay,  rise,  and
  2269. TEXT: H          fall  times of 2ns and a pulse width of 30ns.  The transient
  2270. TEXT: H          interval is 0 to 100ns,  with  printing  to  be  done  every
  2271. TEXT: H          nanosecond.
  2272. TEXT: H
  2273. TEXT:                SIMPLE RTL INVERTER
  2274. TEXT: H               GVHCC 4 0 5
  2275. TEXT: H               GVHIN 1 0 PULSE 0 5 2NS 2NS 2NS 30NS
  2276. TEXT: H               GRHB 1 2 10K
  2277. TEXT: H               GQH1 3 2 0 Q1
  2278. TEXT: H               GRHC 3 4 1K
  2279. TEXT: H               G.MODEL HQ1 NPN BF 20 RB 100 TF .1NS CJC 2PF
  2280. TEXT: H               G.DC HVIN 0 5 0.1
  2281. TEXT: H               G.TRAN H1NS 100NS
  2282. TEXT: H               G.END
  2283. TEXT: H
  2284. TEXT: 
  2285.  
  2286. SUBJECT: ex4
  2287. TITLE: Example 4
  2288. TEXT: 
  2289. TEXT:                The following file simulates a four-bit  binary  adder,
  2290. TEXT: H          using  several subcircuits to describe various pieces of the
  2291. TEXT: H          overall circuit.
  2292. TEXT: H
  2293. TEXT:                ADDER - 4 BIT ALL-NAND-GATE BINARY ADDER
  2294. TEXT: H               *** SUBCIRCUIT DEFINITIONS
  2295. TEXT: H               G.SUBCKT HNAND 1 2 3 4
  2296. TEXT: H               *   NODES:  INPUT(2), OUTPUT, VCC
  2297. TEXT: H               GQH1 9 5 1 QMOD
  2298. TEXT: H               GDH1CLAMP 0 1 DMOD
  2299. TEXT: H               GQH2 9 5 2 QMOD
  2300. TEXT: H               GDH2CLAMP 0 2 DMOD
  2301. TEXT: H               GRHB 4 5 4K
  2302. TEXT: H               GRH1 4 6 1.6K
  2303. TEXT: H               GQH3 6 9 8 QMOD
  2304. TEXT: H               GRH2 8 0 1K
  2305. TEXT: H               GRHC 4 7 130
  2306. TEXT: H               GQH4 7 6 10 QMOD
  2307. TEXT: H               GDHVBEDROP 10 3 DMOD
  2308. TEXT: H               GQH5 3 8 0 QMOD
  2309. TEXT: H               G.ENDS HNAND
  2310. TEXT: H               G.SUBCKT HONEBIT 1 2 3 4 5 6
  2311. TEXT: H               *   NODES:  INPUT(2), CARRY-IN, OUTPUT, CARRY-OUT, VCC
  2312. TEXT: H               GXH1 1 2 7 6 NAND
  2313. TEXT: H               GXH2 1 7 8 6 NAND
  2314. TEXT: H               GXH3 2 7 9 6 NAND
  2315. TEXT: H               GXH4 8 9 10 6 NAND
  2316. TEXT: H               GXH5 3 10 11 6 NAND
  2317. TEXT: H               GXH6 3 11 12 6 NAND
  2318. TEXT: H               GXH7 10 11 13 6 NAND
  2319. TEXT: H               GXH8 12 13 4 6 NAND
  2320. TEXT: H               GXH9 11 7 5 6 NAND
  2321. TEXT: H               G.ENDS HONEBIT
  2322. TEXT: H               .SUBCKT TWOBIT 1 2 3 4 5 6 7 8 9
  2323. TEXT: H               *   NODES:  INPUT - BIT0(2) / BIT1(2), OUTPUT - BIT0 / BIT1,
  2324. TEXT: H               *           CARRY-IN, CARRY-OUT, VCC
  2325. TEXT: H               GXH1 1 2 7 5 10 9 ONEBIT
  2326. TEXT: H               GXH2 3 4 10 6 8 9 ONEBIT
  2327. TEXT: H               G.ENDS HTWOBIT
  2328. TEXT: H               .SUBCKT FOURBIT 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
  2329. TEXT: H               *   NODES:  INPUT - BIT0(2) / BIT1(2) / BIT2(2) / BIT3(2),
  2330. TEXT: H               *           OUTPUT - BIT0 / BIT1 / BIT2 / BIT3, CARRY-IN, CARRY-OUT,
  2331. TEXT: H               GVHCC
  2332. TEXT: H               GXH1 1 2 3 4 9 10 13 16 15 TWOBIT
  2333. TEXT: H               GXH2 5 6 7 8 11 12 16 14 15 TWOBIT
  2334. TEXT: H               .ENDS FOURBIT
  2335. TEXT: H               *** DEFINE NOMINAL CIRCUIT
  2336. TEXT: H               G.MODEL HDMOD D
  2337. TEXT: H               G.MODEL HQMOD NPN(BF=75 RB=100 CJE=1PF CJC=3PF)
  2338. TEXT: H               GVHCC 99 0 DC 5V
  2339. TEXT: H               GVHIN1A 1 0 PULSE(0 3 0 10NS 10NS   10NS   50NS)
  2340. TEXT: H               GVHIN1B 2 0 PULSE(0 3 0 10NS 10NS   20NS  100NS)
  2341. TEXT: H               GVHIN2A 3 0 PULSE(0 3 0 10NS 10NS   40NS  200NS)
  2342. TEXT: H
  2343. TEXT: 
  2344. TEXT:                GVHIN2B 4 0 PULSE(0 3 0 10NS 10NS   80NS  400NS)
  2345. TEXT: H               GVHIN3A 5 0 PULSE(0 3 0 10NS 10NS  160NS  800NS)
  2346. TEXT: H               GVHIN3B 6 0 PULSE(0 3 0 10NS 10NS  320NS 1600NS)
  2347. TEXT: H               GVHIN4A 7 0 PULSE(0 3 0 10NS 10NS  640NS 3200NS)
  2348. TEXT: H               GVHIN4B 8 0 PULSE(0 3 0 10NS 10NS 1280NS 6400NS)
  2349. TEXT: H               GXH1 1 2 3 4 5 6 7 8 9 10 11 12 0 13 99 FOURBIT
  2350. TEXT: H               GRHBIT0 9 0 1K
  2351. TEXT: H               GRHBIT1 10 0 1K
  2352. TEXT: H               GRHBIT2 11 0 1K
  2353. TEXT: H               GRHBIT3 12 0 1K
  2354. TEXT: H               GRHCOUT 13 0 1K
  2355. TEXT: H               *** (FOR THOSE WITH MONEY (AND MEMORY) TO BURN)
  2356. TEXT: H               G.TRAN H1NS 6400NS
  2357. TEXT: H               G.END
  2358. TEXT: H
  2359. TEXT: 
  2360.  
  2361. SUBJECT: ex5
  2362. TITLE: Example 5
  2363. TEXT: 
  2364. TEXT:                The  following  file  simulates   a   transmission-line
  2365. TEXT: H          inverter.  Two transmission-line elements are required since
  2366. TEXT: H          two propagation modes are excited.  In the case of a coaxial
  2367. TEXT: H          line,  the  first  line (T1) models the inner conductor with
  2368. TEXT: H          respect to the shield, and the second line (T2)  models  the
  2369. TEXT: H          shield with respect to the outside world.
  2370. TEXT: H
  2371. TEXT:                TRANSMISSION-LINE INVERTER
  2372. TEXT: H               GVH1 1 0 PULSE(0 1 0 0.1N)
  2373. TEXT: H               GRH1 1 2 50
  2374. TEXT: H               GXH1 2 0 0 4 TLINE
  2375. TEXT: H               GRH2 4 0 50
  2376. TEXT: H               G.SUBCKT HTLINE 1 2 3 4
  2377. TEXT: H               GTH1 1 2 3 4 Z0=50 TD=1.5NS
  2378. TEXT: H               GTH2 2 0 4 0 Z0=100 TD=1NS
  2379. TEXT: H               G.ENDS HTLINE
  2380. TEXT: H               G.TRAN H0.1NS 20NS
  2381. TEXT: H               G.END
  2382. TEXT: H
  2383. TEXT: 
  2384.  
  2385. SUBJECT: batchmode
  2386. TITLE: Batch Mode
  2387. TEXT: 
  2388. TEXT:      If Gspice His given a circuit file as the standard input, or
  2389. TEXT: H     if it is run with the G-b Hflag, it will process the circuit
  2390. TEXT: H     in batch mode, similar to that of SPICE2.  Most of the con-
  2391. TEXT: H     trol lines recognised by SPICE2 will be handled, including
  2392. TEXT: H     G.plotH, G.printH, and G.fourH.  The format of the output is some-
  2393. TEXT: H     what different, however, and much less information is avail-
  2394. TEXT: H     able from an operating point analysis.  Some SPICE2 options
  2395. TEXT: H     are not supported, and only the analysis types Gtran, op, ac,
  2396. TEXT: H     dc, Hand Gpz Hare recognised.
  2397. TEXT: H
  2398. TEXT: 
  2399. SEEALSO: SPICE:dashb
  2400.  
  2401.